redux-persist
redux-persist copied to clipboard
persist and rehydrate a redux store
**Description of issue** Scenario: User has loaded a page state with data (list of roles). Said user goes offline whilst in same page. He/she reloads same page. State is lost....
Hi, I'm using redux persist to connect to an api call and get the response. But I'm getting the initial response for first time. If I click on button to...
I followed [Dan Abramov's example](https://stackoverflow.com/questions/35622588/how-to-reset-the-state-of-a-redux-store) on clearing a redux store by dispatching an action that gets handled by a root reducer. My code for that is here ``` import {...
Lets say we have usersReducer that stores only current user: ```typescript export type UsersState = { currentUserId: string; profiles: Record; }; export const usersReducer = persistReducer({ key: 'users', throttle: 5000,...
``` import AsyncStorage from '@react-native-async-storage/async-storage'; import {configureStore} from '@reduxjs/toolkit'; import { persistStore, persistReducer, FLUSH, REHYDRATE, PAUSE, PERSIST, PURGE, REGISTER, } from 'redux-persist'; import {rootReducer} from './reducers'; const persistConfig = {...
Hello Devs. I tried adding redux persist to my application, followed all the guidelines, however, it shows blank white screen, Please I am lost of idea, solution... My Stack is...
**What is the current behavior?** Currently have a React project where I am bridging calls back and forth between iOS and Android. I have made a mobile native wrapper around...
my one of the reducers is not persisting the data because of this issue. Error storing data DOMException: Failed to execute 'setItem' on 'Storage': Setting the value of 'persist:Universal' exceeded...
I'm currently working a react-native project and having an issue that causes my app to give a white screen and never load on open. After some debugging, I've found that...