We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60786ba commit 2745e3dCopy full SHA for 2745e3d
src/apollo-provider.js
@@ -147,7 +147,7 @@ export class ApolloProvider {
147
const states = {}
148
for (const key in this.clients) {
149
const client = this.clients[key]
150
- const state = { [client.reduxRootKey || 'apollo']: client.getInitialState() }
+ const state = client.cache.extract()
151
states[`${finalOptions.exportNamespace}${key}`] = state
152
}
153
return states
0 commit comments