redux-persist
redux-persist copied to clipboard
persist and rehydrate a redux store
Hi! 👋 Firstly, thanks for your work on this project! 🙂 Today I used [patch-package](https://github.com/ds300/patch-package) to patch `[email protected]` for the project I'm working on. **TLDR; when passing initialState to a...
Hey, I want to change the storage engine, from AsyncStorage to react-native-mmkv-storage, but the app is already in production and installed on many user devices. How would one go about...
Anyone here can give me a simple implementations of a redux-persist on typescript? I always got error like this when i try to create persistor `Argument of type 'Store' is...
``` const initialState = []; export default function(state = initialState, action) { switch (action.type) { case constants.UPDATE_QUESTIONS: return action.questions; } return state; } ``` To test I deleted the app...
We are getting TypeScript error TS2786: `'PersistGate' cannot be used as a JSX component. Its instance returned by 'render()' are incompatible between these types. Type 'React.ReactNode' is not assignable to...
This is a rather new issues that's suddenly popped up. Previously working config now reports PersistGate is not a valid JSX component?
^ In this screenshot, my config key is 'tf' because I've been trying to debug this error, lol. But yeah, I only see this error in the redux logs for...
Heyo, I'm one RTK Query devs. First let me say it's great to see this getting into active maintenance again - thank you @ckalika! I've noticed RTK Query on the...
Hi! 👋 Firstly, thanks for your work on this project! 🙂 Today I used [patch-package](https://github.com/ds300/patch-package) to patch `[email protected]` for the project I'm working on. Added stricter type checking for the...
 I use redux-persist 5.7.2 with react-starter-kit. I tried 5.6.12, it doesn't run persist/REHYDRATE. configureStore.js `const authPersistConfig = { key: 'root', storage: storageSession, }; ` `export default function configureStore(initialState, helpersConfig)...