Open arminhupka opened 2 years ago
I have the same issue. Any news?
Try this:
const persistedReducer = persistReducer<ReturnType<typeof reducers>>(persistConfig, reducers);
Thanks @PiotrKujawa , but you have a typo (duplicate persistReducer
)
Correct:
export const persistedReducer = persistReducer<ReturnType<typeof rootReducer>>(
persistConfig,
rootReducer
);
still working
export const persistedReducer = persistReducer<ReturnType
I have next.js project where I using this library but I have type issue during using
stateReconciler: hardSet
My problem looks like this