-
Notifications
You must be signed in to change notification settings - Fork 266
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
Recommended way to use redux #87
Comments
I too have the same question. |
Allows the usage of: - Custom link - Custom cache - Custom cache options Fixes awslabs#3 Fixes awslabs#21 Fixes awslabs#24 Fixes awslabs#36 Fixes awslabs#52 Fixes awslabs#70 Fixes awslabs#87 Closes awslabs#62
Hi @merunga , @M1chaelTran Soon it should be possible to use apollo-link-state for your local state needs, see #24 (comment) |
amazing @manueliglesias ! |
It is not recommended to use the same store as the AppSync client as it is an implementation detail, in the future |
* Use custom link cache and cache options Allows the usage of: - Custom link - Custom cache - Custom cache options Fixes #3 Fixes #21 Fixes #24 Fixes #36 Fixes #52 Fixes #70 Fixes #87 Closes #62 * Pass store to OfflineLink when using createAppSyncLink * Fix eslint rules violations * Fix typo. Address CR comment.
I'm still quite confused about this. We raised a support ticket on our AWS account in July 2018, and the support team just got back to us stating:
I guess that leaves just MobX as a mainstream option for state management? I'm not saying it's required or needed with the latest React hooks, Context API, Apollo render props etc. but it would be nice to know what's the recommended practice. |
Hi,
I want to use redux to manage my app state.
As appsync client is already using redux as its offline cache, what should I do? Should I create a new store? Or should I try to use the aacStore?
I'd rather prefer to have only one store, but I found no hooks to plug my own reducers and middlewares.
The text was updated successfully, but these errors were encountered: