Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
June 23, 2020 12:57 pm GMT

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:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To