React Native
setDataList WARN SerializableStateInvariantMiddleware took ...
Machine_웅
2023. 1. 10. 16:29
728x90
반응형
SerializableStateInvariantMiddleware took 42ms, 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
경고처리
const store = configureStore({
reducer:{
rootReducer
},
middleware: (getDefaultMiddleware) => getDefaultMiddleware({
immutableCheck: false,
serializableCheck: false,
})
})
export default store;
https://stackoverflow.com/questions/65217815/redux-handling-really-large-state-object
Redux - handling really large state object
I have a simple react + flask application. I want to load some data (~10mb) when the user clicks a button, and then use this data. Because two different components have to interact with this data, i
stackoverflow.com
728x90
반응형