-
Notifications
You must be signed in to change notification settings - Fork 121
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
Incomplete states on rehydration and lost pieces of state #110
Comments
I have the same problem with 6.0.0 too. When refreshing the browser (i.e.
|
Seems fixed with the merge of #114 (and release of 7.0.0) |
Going to close this issue as it was fixed with 7.0.0 as commented above. For anyone interested, there's now a |
On 6.0.0 now and I still have the problems with the shape of the state after rehydration.
My state looks like so:
What I want to keep in local storage is:
language
,deliveryParams
(prefereably justdeliveryZip
, but let's simplify)orderTokens
andlastViewedId
So I have the
keys
specified as follows:which is saved to local storage just fine, I can see two records in Dev Tools/Application/LocalStorage, but when I manually delete
app
from there and refresh the page, theorders
part also gets lost.Even more sadly, in the Redux DevTools I cannot see a single action where the state would be complete - and include for example
app.viewParams
. This is why I believe my comment is still valid - we should:(The code in that comment of course is simplified and does mutation, so please consider it pseudo-code)
The problems described above are with the solution applied
So I consider #65 still open.
The text was updated successfully, but these errors were encountered: