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
When I try to install apollo-client and start my app, it makes an error:
This dependency was not found:
* react in ./node_modules/@apollo/client/react/context/ApolloContext.js, ./node_modules/@apollo/client/react/context/ApolloProvider.js and 6 others
I don't use react in this project. Why is it required to install react?
Thank you
The text was updated successfully, but these errors were encountered:
I admit it's a little strange that @apollo/client exports useQuery and a few other React-related utilities, when you're not using React. However, we have an entry point called @apollo/client/core for everything except the React stuff (#5541). Try importing from there?
When I try to install apollo-client and start my app, it makes an error:
I don't use react in this project. Why is it required to install react?
Thank you
The text was updated successfully, but these errors were encountered: