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
Currently, when we update the redux store with some new functionality we have to up the version. This is because if the store differs from the store that is being replenished from the localStorage there might be issues.
This is quite annoying and easy to forget. I think we can fix this with the following:
Currently we do a check in App.tsx to check if the server has been reset. This is because we wipe the server over the weekend to not clutter it up with billions of connections. What if we also save the current date in the store and then check before replenishing if this date is after the last server reset. If the server has been reset we don't replenish the store.
Does this make sense? It does feel a bit hacky so open to other suggestions.
The text was updated successfully, but these errors were encountered:
Currently, when we update the redux store with some new functionality we have to up the version. This is because if the store differs from the store that is being replenished from the localStorage there might be issues.
This is quite annoying and easy to forget. I think we can fix this with the following:
Currently we do a check in
App.tsx
to check if the server has been reset. This is because we wipe the server over the weekend to not clutter it up with billions of connections. What if we also save the current date in the store and then check before replenishing if this date is after the last server reset. If the server has been reset we don't replenish the store.Does this make sense? It does feel a bit hacky so open to other suggestions.
The text was updated successfully, but these errors were encountered: