-
Notifications
You must be signed in to change notification settings - Fork 46
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
[Enhancement]: rehydrate store when open app #93
Comments
You can easily do that yourself, can't you? |
Maybe :D
…On Sun, Aug 26, 2018 at 12:20 AM, Günter Zöchbauer ***@***.*** > wrote:
You can easily do that yourself, can't you?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#93 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AcLAYYU0PVTSrc3wGaMyQXAkBuxocKKxks5uUYdYgaJpZM4WMWUx>
.
|
Yea i think this is easy enough to do by yourself. All you have to do is read the state object from storage before constructing your store and pass that to the store as the store's Did you have a specific idea on a way built_redux could make this easier? |
I think redux_persist isn't that so simple how it looks like. Would be much better to have package like that for built_redux |
I created a example for persisting store with built_redux. Code is based on redux_persist. I didn't want to open source it as package because lack of tests and I think quality is much worse than redux_persist. Maybe in next week I'll have more time to make it right. I'll post it in case that someone need it. built_redux_persist - persistor + middleware: built_redux_persist_flutter - flutter storage (with shared preferences) store example: |
can you add rehydrate store from device storage when open the app? Thank you!
The text was updated successfully, but these errors were encountered: