react-relay 0.0.0-main-5465a0b2 → 0.0.0-main-ff3e51e6
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/useLazyLoadQueryNode.js.flow +2 -2
- package/relay-hooks/usePreloadedQuery.js.flow +0 -2
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-ff3e51e6",
|
|
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-ff3e51e6"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"react": "^16.9.0 || ^17 || ^18 || ^19"
|
|
@@ -39,14 +39,14 @@ hook useLazyLoadQueryNode<TQuery: OperationType>({
|
|
|
39
39
|
fetchPolicy,
|
|
40
40
|
fetchKey,
|
|
41
41
|
renderPolicy,
|
|
42
|
-
}: {
|
|
42
|
+
}: $ReadOnly<{
|
|
43
43
|
query: OperationDescriptor,
|
|
44
44
|
componentDisplayName: string,
|
|
45
45
|
fetchObservable: Observable<GraphQLResponse>,
|
|
46
46
|
fetchPolicy?: ?FetchPolicy,
|
|
47
47
|
fetchKey?: ?string | ?number,
|
|
48
48
|
renderPolicy?: ?RenderPolicy,
|
|
49
|
-
}): TQuery['response'] {
|
|
49
|
+
}>): TQuery['response'] {
|
|
50
50
|
const environment = useRelayEnvironment();
|
|
51
51
|
const profilerContext = useContext(ProfilerContext);
|
|
52
52
|
const QueryResource = getQueryResourceForEnvironment(environment);
|
|
@@ -157,8 +157,6 @@ hook usePreloadedQuery<
|
|
|
157
157
|
variables: TVariables,
|
|
158
158
|
response: TData,
|
|
159
159
|
rawResponse?: $NonMaybeType<TRawResponse>,
|
|
160
|
-
/* $FlowFixMe[incompatible-type] Natural Inference rollout. See
|
|
161
|
-
* https://fburl.com/gdoc/y8dn025u */
|
|
162
160
|
}>(useLazyLoadQueryNodeParams);
|
|
163
161
|
|
|
164
162
|
if (__DEV__) {
|