react-apollo-hooks
react-apollo-hooks copied to clipboard
How does Apollo cache get sent to the client with SSR?
I'm confused how the SSR example would work without using apolloClient.extract()
to send the cache state to the client. And because getMarkupFromTree
exerts more control than getDataFromTree
, it seems impossible to use apolloClient.extract()
with this library; am I right?
It's possible and works very well
it's not possible to use apolloClient.extract()
together with getDataFromTree
though is it? At least without doing a 3rd rendering pass?