DEV Community

Discussion on: Why I Stopped Using Redux

Collapse
 
sgolovine profile image
Sunny Golovine

Since hooks and contextAPI came out I've started using Redux in other ways. While I used to fetch data in the Redux layer and pass it into state, I now use Redux with Redux Persist as a form of data storage for the user.

In a way Redux is now an API for interacting with locally stored objects and for that I found it fantastic. I found that you can quickly migrate an app from one platform (say web) to another (native) and all you have to do to adapt your data storage with redux is to pull in another persistence library that works with that platform.