NerdWalletOSS / apollo-cache-policies

An extension of the Apollo 3 cache with support for advanced cache policies.
Apache License 2.0
156 stars 22 forks source link

Unnecessary root dependency on react #68

Open JeremyGuinn opened 1 year ago

JeremyGuinn commented 1 year ago

You guys are fantastic for providing this package. I'd like to use this project outside of a react application, which apollographql/apollo-client supports. Could you follow the lead of apollographql/apollo-client to separate your core and react code? As was done here: https://github.com/apollographql/apollo-client/pull/9940

danReynolds commented 1 year ago

Thanks for the feedback! I'd be happy to see the library usable outside of React. It'll take me a bit of time to play around with that /react entrypoint setup, if anyone wants to take that on feel free! Otherwise I'll look into getting this done when I can find time.