-
Why are we subscribing to the persistor after the component renders? This breaks redux-persist for isomorphic applications because the server does not rerender since the html has already been sent to …
-
Redux persist works on android but is not working on IOS 11.0
my code is as below
```
// store.js
export const configureStore(intialState){
const rootPersistConfig = {
key: "root",
storage…
-
Hi,
Here is my context :
- "redux-persist": "^5.10.0"
- App.js :
Provider store={Store}
PersistGate persistor={persistor}
...
/PersistGate
/Provider
- At startup, I come from a state wher…
-
Notice a bug with a lot of people trying to get the destructuring right based on the fact that this lib uses the configStore to return an object with two objects inside.
Perhaps the main readme co…
-
hello,
im using react with redux tkq and persist,
im facing some error which im not sure what occurred it,
what im trying to do, is to persist authSlice in order to keep user's data while refreshin…
-
I'm trying redux-persist for the first time, but can't get my normal render through PersistGate.
```
function createPersistentStore ( persistenceKey ) {
const persistConfig = {
key: …
-
This is my code:
`const config = {
key: 'users_redux_state',
storage,
}
const reducer = persistCombineReducers(config,{
user:logged_user_reducer,
} )
export let store = createStore(reduc…
ghost updated
6 years ago
-
Application shows the error: Element type is invalid when in StrickMode
- "react": "16.3.2",
- "react-bootstrap-sweetalert": "^4.1.0",
- "react-burger-menu": "^2.5.2",
- "react-datetime": "2.11.…
-
I'm getting errors using this with `redux-persist` 2.0 as `persistor.rehydrate` is being passed an object instead of a string, which causes the deserialise function to die. My workaround has been to p…
-
Looks like if we initialize the persistor with `persistStore(store...)` it loads the store correctly, but dispatching actions will not persist the actual changes in HeadlessJS mode (no components get …