You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.
Intended outcome:
Refresh of component. Hook state should be preserved.
Actual outcome:
On a fast refresh useQuery runs into a runtime error. See details in the image below. It seems that a value is undefined that is assumed to be defined. I think it is failing at this line:
Intended outcome:
Refresh of component. Hook state should be preserved.
Actual outcome:
On a fast refresh
useQuery
runs into a runtime error. See details in the image below. It seems that a value is undefined that is assumed to be defined. I think it is failing at this line:react-apollo/packages/hooks/src/data/QueryData.ts
Line 346 in 65b3a88
Interestingly there is a typescript nullability override, so maybe that is an assumption that we cannot make in the world of fast refresh?
How to reproduce the issue:
Run any
useQuery
in React-Native 0.61 RC2.Version
@apollo/hooks 3.10
React-Native 0.61 RC2
The text was updated successfully, but these errors were encountered: