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
{{ message }}
This repository has been archived by the owner on Jan 10, 2018. It is now read-only.
When normalizing data I end up with state that looks like this
users: {
UserId1: ...instance of user...
UserId2: ...instance of user...
}
The problem with this is obviously that it will continue to grow over time. Does anyone have a working solution that identifies when a certain slice of state is no longer in use (e.g. "users") so I can dispatch an action to clear it down?
The text was updated successfully, but these errors were encountered:
When normalizing data I end up with state that looks like this
users: {
UserId1: ...instance of user...
UserId2: ...instance of user...
}
The problem with this is obviously that it will continue to grow over time. Does anyone have a working solution that identifies when a certain slice of state is no longer in use (e.g. "users") so I can dispatch an action to clear it down?
The text was updated successfully, but these errors were encountered: