r/javascript • • Sep 11 '18

[deleted by user]

[removed]

93 Upvotes

64 comments sorted by

View all comments

Show parent comment

2

u/_sirberus_ Sep 13 '18

I will try asking again as I was unclear. I know what a store is, so I know why one would want to have global state period. But in this context, why would I want to use apollo-link-state? Why put the same data in two places? Are you saying that apollo's cache is server-side? Because if it's client side... then it itself is a sort of global state, bringing me back to the question - why would I duplicate it?

0

u/[deleted] Sep 13 '18

[deleted] — view deleted comment

2

u/_sirberus_ Sep 13 '18

Oh! I've got you now, thanks! That's awesome.