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 Dec 30, 2021. It is now read-only.
I need to use the Apollo React client in my project and using Snowpack it does not seem to work because @apollo/client uses a "require()" instruction somewhere in its bundle, is there any documented workaround for those kind of setup, also according to pika @apollo/client seems to be fine in terms of exposing a module endpoint.
Thanks
The text was updated successfully, but these errors were encountered:
Thanks! I can reproduce. This is an issue in Apollo's v3 beta version, unfortunately. I filed an issue here: apollographql/apollo-client#6352 (looks like it's been reported before though). Hopefully they fix before v3.0.0.
Until then, you'll want to use their non-beta via v2 release. pika.dev is currently build with Snowpack and Apollo and is using this branch, and it works great.
Hi,
I need to use the Apollo React client in my project and using Snowpack it does not seem to work because @apollo/client uses a "require()" instruction somewhere in its bundle, is there any documented workaround for those kind of setup, also according to pika @apollo/client seems to be fine in terms of exposing a module endpoint.
Thanks
The text was updated successfully, but these errors were encountered: