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
The serializableCheck is quite valuable, but with our state architecture it often takes up to 100ms for every action of which a lot might be dispatched.
It would be great to have an option to only run the check on the current action and not the whole state.
This seems to be quite easy to add around
While you're at it: it might also be interesting to skip out of the check if the part of the state is frozen. That will usually be the case with data that was autofrozen by immer, so most of the time the check would be pretty obsolete anyways.
The serializableCheck is quite valuable, but with our state architecture it often takes up to 100ms for every action of which a lot might be dispatched.
It would be great to have an option to only run the check on the current action and not the whole state.
This seems to be quite easy to add around
redux-toolkit/src/serializableStateInvariantMiddleware.ts
Line 193 in ba8c911
Could I create a PR?
The text was updated successfully, but these errors were encountered: