You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you already have the key in your existing tree, then it will just overwrite your new value. So you can write a value once, but then you can never update it again.
Yes, but this project has other issues, depending on the version of redux-persist that you are using. In v4 at least, some parts of the state can be overwritten due to racing conditions on the use of redux-persist.
Hey,
So we ported some of this to use on Android phones but this line seems to be wrong:
If you already have the key in your existing tree, then it will just overwrite your new value. So you can write a value once, but then you can never update it again.
Suggestion is to use something like
Or even a simple assign if you don't mind it being mutated.
The text was updated successfully, but these errors were encountered: