svelte-apollo icon indicating copy to clipboard operation
svelte-apollo copied to clipboard

How can i use apollo local-state?

Open freeseamew opened this issue 3 years ago • 1 comments

I have question if local-state related functions are currently available in apollo-svelte (ex: makeVAr, reactiveVar) because there is no information about this area.

Also, do you recommend using apollo's local state when processing this local state? Or do you recommend using a svelte store?

freeseamew avatar Feb 05 '21 02:02 freeseamew

The response of query is returning a svelte-store under the hood that is as reactive as it would be with makeVar/reactiveVar in react.

flashspys avatar Apr 11 '21 21:04 flashspys