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:
I tried to use the exposed
ApolloContext
withReact.useContext
in my TS project.Actual outcome:
I get a type error when using
ApolloContext
.the problem is that the exposed
ApolloContext
type is defined as:where
React.useContext
doesn't acceptnull
as a context.How to reproduce the issue:
In a TS project:
I tried to use the codesandbox error template, but I got errors on all dependencies after changing the filenames to
.tsx
.Version
Workaround
The text was updated successfully, but these errors were encountered: