skip to Main Content

Reactjs – Getting issue in middleware of configureStore when update redux-toolkit to 2.0.1

export const store: AppStore = configureStore({ reducer: rootReducer, middleware: (getDefaultMiddleware) => getDefaultMiddleware({ serializableCheck: false, immutableCheck: false }).concat([ createStateSyncMiddleware({ channel: "ketchcloth", broadcastChannelOption: { type: "localstorage", webWorkerSupport: false }, blacklist: ['persist/PERSIST', 'persist/PURGE', 'persist/REHYDRATE'] }) ]) }) Here, I got the error TS2322:…

VIEW QUESTION
Back To Top
Search