-
I'm using [react boilerplate](https://github.com/react-boilerplate/react-boilerplate)
In react-boilerplate/app/configureStore.js I added
```
import { AsyncStorage } from "react-native";
import…
-
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…
-
I'm trying redux-persist for the first time, but can't get my normal render through PersistGate.
```
function createPersistentStore ( persistenceKey ) {
const persistConfig = {
key: …
-
Hi,
I am using redux-persist with my entire state tree being stored as an immutable map as shown in my store.js file code below.
```
import {persistReducer, persistStore} from 'redux-persist';…
kg912 updated
4 years ago
-
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 …
-
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…
-
I need a basic redux setup. Use regular conventions.
Use redux-toolkit official docs. Plus it would be very nice if you could also implement `persistor`.
-
I know it's important to stay hydrated but my store is being hydrated twice here :
store.ts
```
const persistConfig = {
key: 'root',
storage,
whitelist: ['users']
}
const usersPersi…
-
# Is there any issue with my store setup?
https://gist.github.com/MuttakinHasib/c3ad30fdfcc085cf5e4a447f409f17cc
### store.ts
```ts
import {
Action,
AnyAction,
CombinedState,
confi…