react-relay 0.0.0-main-7461eeae → 0.0.0-main-ff4bf013
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
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-ff4bf013",
|
|
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-ff4bf013"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"react": "^16.9.0 || ^17 || ^18 || ^19"
|
|
@@ -537,6 +537,7 @@ hook useFragmentInternal(
|
|
|
537
537
|
if (
|
|
538
538
|
RelayFeatureFlags.ENABLE_RELAY_OPERATION_TRACKER_SUSPENSE ||
|
|
539
539
|
environment !== previousEnvironment ||
|
|
540
|
+
// $FlowFixMe[sketchy-null-bool]
|
|
540
541
|
!committedFragmentSelectorRef.current ||
|
|
541
542
|
// $FlowFixMe[react-rule-unsafe-ref]
|
|
542
543
|
!areEqualSelectors(committedFragmentSelectorRef.current, fragmentSelector)
|
|
@@ -569,6 +569,7 @@ hook useFragmentInternal_EXPERIMENTAL(
|
|
|
569
569
|
if (
|
|
570
570
|
RelayFeatureFlags.ENABLE_RELAY_OPERATION_TRACKER_SUSPENSE ||
|
|
571
571
|
environment !== previousEnvironment ||
|
|
572
|
+
// $FlowFixMe[sketchy-null-bool]
|
|
572
573
|
!committedFragmentSelectorRef.current ||
|
|
573
574
|
// $FlowFixMe[react-rule-unsafe-ref]
|
|
574
575
|
!areEqualSelectors(committedFragmentSelectorRef.current, fragmentSelector)
|