skip to Main Content

React native – understanding 'non-serializable value' problem in redux / persist

Previously i was trying to persist my redux store using the following code: import AsyncStorage from '@react-native-async-storage/async-storage' import { persistStore, persistReducer } from 'redux-persist'; import { configureStore, combineReducers } from "@reduxjs/toolkit"; import {searchReducer} from "./search/searchSlice" import {userReducer} from "./user/userSlice" const…

VIEW QUESTION

React native – How can I use persistStore with Redux-Toolkit?

I have the following: import AsyncStorage from '@react-native-async-storage/async-storage' import { persistStore, persistReducer } from 'redux-persist'; import { configureStore } from "@reduxjs/toolkit"; import { searchReducer } from "./search/searchSlice" import { userReducer } from "./user/userSlice" export const store = configureStore({ reducer: {…

VIEW QUESTION
Back To Top
Search