after upgrading redux, see OCMUI-1344 a new warning message appears on dev mode
ImmutableStateInvariantMiddleware took 37ms, which is more than the warning threshold of 32ms.
If your state or actions are very large, you may want to disable the middleware as it might cause too much of a slowdown in development mode. See https://redux-toolkit.js.org/api/getDefaultMiddleware for instructions.
It is disabled in production builds, so you don't need to worry about that.
we should investigate it before disabling immutableCheck for RTK defaultMiddleware
- is triggered by
-
OCMUI-1344 [DEPENDENCY UPDATES] update redux
- Closed