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 677c1e3 commit 9d1fe44Copy full SHA for 9d1fe44
packages/relay-runtime/store/RelayReader.js
@@ -1370,8 +1370,8 @@ class RelayReader {
1370
const componentKey = getModuleComponentKey(moduleImport.documentName);
1371
// componentModuleProvider is used by Client 3D for read time resolvers.
1372
const component =
1373
- moduleImport.componentModuleProvider ??
1374
- RelayModernRecord.getValue(record, componentKey);
+ RelayModernRecord.getValue(record, componentKey) ??
+ moduleImport.componentModuleProvider;
1375
if (component == null) {
1376
if (component === undefined) {
1377
this._markDataAsMissing('<module-import>');
0 commit comments