apollographql / apollo-link-state

✨ Manage your application's state with Apollo!
MIT License
1.4k stars 101 forks source link

withClientState state variables not created until component is mounted #313

Open rickAllDev opened 6 years ago

rickAllDev commented 6 years ago

I've got several local state variables defined in defaults. They do not get created until I've called an initial query for them. When I add graphql(query...) composed in mounted component, the variables appear with default values. When I remove, the variables are not in the store.

I thought from another conversation here that this issue had been resolved.