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
browser.js:40 Uncaught Error: ApolloClient was not passed a client instance. Make sure you pass in your client via the "client" prop
at invariant (browser.js:40)
at new ApolloProvider (ApolloProvider.js:19)
at Object.createClassComponentInstance (utils.js:21)
at mountComponent (mounting.js:149)
at Object.mount (mounting.js:17)
at Object.render (rendering.js:89)
at Object.<anonymous> (index.js:29)
...webpack stuff
The "client" object imported from apolloClient.js looks just fine. Poking around node_modules, it looks like the ApolloProvider construction function is being called with an empty props object no matter what the props actually are.
I wonder if this has something to do with inferno-compat, but we've reached the limit of my inferno knowledge at this point.
The text was updated successfully, but these errors were encountered:
Hi @johncomposed
Thx for your filing this issue 👍
I've update inferno-apollo to 1.0.2 and inferno-apollo-demo with the latest dependencies. Inferno Bable Plugin has an issue and throws warnings for Inferno is defined but never used. They work on that and I'll update the the demo again, when it is fixed 👍
Hope that helped you? Have a nice day.
The "client" object imported from
apolloClient.js
looks just fine. Poking around node_modules, it looks like the ApolloProvider construction function is being called with an empty props object no matter what the props actually are.I wonder if this has something to do with inferno-compat, but we've reached the limit of my inferno knowledge at this point.
The text was updated successfully, but these errors were encountered: