react-relay 0.0.0-main-4441b287 → 0.0.0-main-cb2dcaf5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ReactRelayContext.js +1 -1
- package/hooks.js +1 -1
- package/index.js +1 -1
- package/legacy.js +1 -1
- package/package.json +2 -2
- package/relay-hooks/loadQuery.js.flow +6 -0
package/ReactRelayContext.js
CHANGED
package/hooks.js
CHANGED
package/index.js
CHANGED
package/legacy.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-relay",
|
|
3
3
|
"description": "A framework for building GraphQL-driven React applications.",
|
|
4
|
-
"version": "0.0.0-main-
|
|
4
|
+
"version": "0.0.0-main-cb2dcaf5",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"graphql",
|
|
7
7
|
"relay",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"fbjs": "^3.0.2",
|
|
21
21
|
"invariant": "^2.2.4",
|
|
22
22
|
"nullthrows": "^1.1.1",
|
|
23
|
-
"relay-runtime": "0.0.0-main-
|
|
23
|
+
"relay-runtime": "0.0.0-main-cb2dcaf5"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"react": "^16.9.0 || ^17 || ^18 || ^19"
|
|
@@ -351,10 +351,16 @@ function loadQuery<
|
|
|
351
351
|
return;
|
|
352
352
|
}
|
|
353
353
|
if (didExecuteNetworkSource) {
|
|
354
|
+
/* $FlowFixMe[constant-condition] Error discovered during Constant
|
|
355
|
+
* Condition roll out. See https://fburl.com/workplace/1v97vimq. */
|
|
354
356
|
unsubscribeFromExecution && unsubscribeFromExecution();
|
|
355
357
|
} else {
|
|
358
|
+
/* $FlowFixMe[constant-condition] Error discovered during Constant
|
|
359
|
+
* Condition roll out. See https://fburl.com/workplace/1v97vimq. */
|
|
356
360
|
unsubscribeFromNetworkRequest && unsubscribeFromNetworkRequest();
|
|
357
361
|
}
|
|
362
|
+
/* $FlowFixMe[constant-condition] Error discovered during Constant
|
|
363
|
+
* Condition roll out. See https://fburl.com/workplace/1v97vimq. */
|
|
358
364
|
cancelOnLoadCallback && cancelOnLoadCallback();
|
|
359
365
|
isNetworkRequestCancelled = true;
|
|
360
366
|
};
|