-
Notifications
You must be signed in to change notification settings - Fork 27.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With-apollo: use reduxRootKey #980
Comments
Or actually can be simplified to (https://github.com/apollographql/react-docs/pull/141/files#diff-e65085a675fc082c408f1708267d9b28R138): const initialState = {
...state,
[client.reduxRootKey]: client.getInitialState(),
}; |
@sedubois Good spot. Makes sense to me. I'll make a pull request. |
@sedubois The Apollo Client release candidate deprecated |
Lets close this and re-open if there are any issues with that @ads1018 |
Okay, thankfully Apollo should be stabilizing now 😄 I'll update my app when I find some time and report any findings |
@ads1018 the Apollo doc is a bit confusing (https://github.com/apollographql/react-docs/issues/123) but I think
apollo
shouldn't be hard-coded, instead should use something along the lines of:The text was updated successfully, but these errors were encountered: