Software Alternatives, Accelerators & Startups

Redux Persist

persist and rehydrate a redux store. Contribute to rt2zz/redux-persist development by creating an account on GitHub.

Redux Persist

Redux Persist Reviews and Details

This page is designed to help you find out whether Redux Persist is good and if it is the right choice for you.

Screenshots and images

  • Redux Persist Landing page
    Landing page //
    2023-08-27

Features & Specs

  1. State Persistence

    Redux Persist maintains Redux state across page reloads, enabling a seamless user experience by preserving the app's state.

  2. Configurable Storage

    Supports various types of storage backends such as localStorage, sessionStorage, and IndexedDB, allowing flexible state storage solutions.

  3. Partial Persistence

    Enables selective persistence by allowing certain parts of the Redux state to be persisted while others are ignored, offering fine-grained control.

  4. Transforms Support

    Allows the use of transforms to encode, decode, or modify the state during persistence and rehydration, providing additional flexibility.

  5. Ease of Integration

    Easily integrates with existing Redux setups with minimal configuration, requiring only a few changes to set up persistence.

Badges

Promote Redux Persist. You can add any of these badges on your website.

SaaSHub badge
Show embed code

Videos

#5. Setup Redux and Redux Persist in Our Project || Build News App (Redux, Redux-Persist)

Social recommendations and mentions

We have tracked the following product recommendations or mentions on various public social media platforms and blogs. They can help you see what people think about Redux Persist and what they use it for.
  • State Management Nx React Native/Expo Apps with TanStack Query and Redux
    Storage: redux-persist, @react-native-async-storage/async-storage. - Source: dev.to / over 1 year ago
  • Persisting state on page refresh in React/Redux app
    Next, following their official document, I added some changes to my store. - Source: dev.to / almost 2 years ago
  • How I go with react native in late 2022
    For most applications, AsyncStorage works fine. also, you can use it with redux-persist or persist middleware of zustand. In this way, you won't even need to touch the AsyncStorage. My first choice as a database (or just a persistor tool) is zustand and AsyncStorage. This combination can solve storage issues most of the time. - Source: dev.to / over 2 years ago
  • Redux Toolkit vs Old Redux
    That is also admittedly not very smart. Maybe you only want to persist certain slices, maybe you need to do other things with it. That's why https://github.com/rt2zz/redux-persist and other similar addons exist. Source: almost 3 years ago
  • How should I approach this?
    On a side note, can I suggest using library like redux or better redux toolkit (with react-redux) to manage the cart? You can then dispatch actions to update the store (cart) and use redux-persist to update the localStorage automatically. Source: almost 3 years ago
  • Make data persistent in reactjs
    I've never done this before but I think that using redux persist with redux-persist-transform-encrypt will do the trick, but this is going to be secure as long as the encryption key is kept secure, if you hard code the key in the source code then it will be accessible to others so be careful. Source: about 3 years ago
  • Why use redux-persist over manually persisting state to localStorage?
    Another way to ask would be, if you really only want to start your app up with the data saved in localStorage (rehydrate) and save every redux state change to localStorage (persist) is using redux-persist any better than using your own solution like Dan Abramov explains here? Source: about 3 years ago
  • React Router V4 protected private route with Redux-persist and React-snapshot
    I know this is a loaded question, but I want to effectively use these 3 libs(React-Router V4, Redux-persist, React-snapshot) together to serve protected routes without the mentioned errors. Source: about 3 years ago
  • 10 JavaScript and NodeJS Tips that Will Knock Away Multiple Concepts
    When you start understanding the benefits and how working with virtual data structures is preferred over working directly with the DOM, you are already half way into understanding the modern techniques that power many of todays web applications. Some examples of such techniques are rehydration and server components. - Source: dev.to / over 3 years ago
  • Confused about React Native data storage using Redux and persisting data
    Is there any reason I'll need redux-persist or AsyncStorage? Source: over 3 years ago
  • Redux User Auth goes away when refreshing.
    You can use https://github.com/rt2zz/redux-persist to save the state of the store, but that only solve one part of the problem, still you need to check if the token is valid. Source: over 3 years ago
  • What I Learned as a Web Dev on My First React Native Project
    The Redux library is quite a common choice thanks to its broad ecosystem. Luckily, there is now a very useful Redux Toolkit that mitigates the amount of boilerplate you have to usually write. RTK Query is a very new Redux solution for data fetching and caching, hopefully making our lives even easier. Though the web seems to slowly be moving away from Redux to React Query, SWR or other solutions, mobile is a... - Source: dev.to / over 3 years ago
  • What are some problems with Redux?
    For storage layer issues specifically, I'll direct you to redux-persist. It's been a perfect solution for almost all of my persisting needs over the years. Source: over 3 years ago
  • Is redux persist enough for offline storage?
    Thanks so much for this. Which docs are u talking about? Is it this one ? https://github.com/rt2zz/redux-persist I cant find the usage of rehydrate in this. Source: almost 4 years ago
  • Is anyone noticing more and more packages being abandoned?
    Yeah, but redux-persist did look quite active when I chose it. Source: about 4 years ago
  • Persisting useReducer with a custom React Hook
    For me, being able to persist a users state is crucial to my app functioning so having a way of persisting data with the useReducer hook was essential. With Redux I would always use redux-persist however there didn't seem to be any formal way of doing it with useReducer. - Source: dev.to / about 4 years ago
  • Redux-user state management questions
    Take a look at redux-persist handles this problem too. Might help taking a look at their code to see how / if it can work for you. Source: about 4 years ago

Do you know an article comparing Redux Persist to other products?
Suggest a link to a post with product alternatives.

Suggest an article

Redux Persist discussion

Log in or Post with

Is Redux Persist good? This is an informative page that will help you find out. Moreover, you can review and discuss Redux Persist here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.