An Interest In:
Web News this Week
- April 1, 2024
- March 31, 2024
- March 30, 2024
- March 29, 2024
- March 28, 2024
- March 27, 2024
- March 26, 2024
June 23, 2020 12:57 pm GMT
Original Link: https://dev.to/jessesbyers/redux-or-recoil-4m0p
Redux or Recoil?
I'm a new developer working on a React project that has grown from its original scope. I started out just using local state and passing props, but as it has grown it is time to refactor and implement state management. The application involves multiple components with many fetches to external APIs, and displaying the data in various ways across routes.
I have used Redux in the past (but not with React hooks), but I am also considering trying out Recoil.
Should I stick with what I already know (Redux), or take this opportunity to explore a new library (Recoil)?
In your opinion, what are the pros and cons of each?
Thank you in advance for any thoughts or recommended resources!
Original Link: https://dev.to/jessesbyers/redux-or-recoil-4m0p
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To