We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffd8423 commit 39eb6d1Copy full SHA for 39eb6d1
packages/react-transport-dom-relay/src/__mocks__/JSResourceReference.js
@@ -11,7 +11,7 @@ class JSResourceReference {
11
constructor(exportedValue) {
12
this._moduleId = exportedValue;
13
}
14
- getModuleID() {
+ getModuleId() {
15
return this._moduleId;
16
17
packages/shared/isValidElementType.js
@@ -64,7 +64,7 @@ export default function isValidElementType(type: mixed) {
64
// we don't know which Flight build this will end up being used
65
// with.
66
type.$$typeof === REACT_MODULE_REFERENCE ||
67
- type.getModuleID !== undefined ||
+ type.getModuleId !== undefined ||
68
type.$$typeof === REACT_BLOCK_TYPE ||
69
type[(0: any)] === REACT_SERVER_BLOCK_TYPE
70
) {
0 commit comments