Before we walk down to theory, We have Repo out with a demo to show the difference between Recoil & Redux. Also, try running the application to see how new features from Recoil makes a difference. PerformanceRecoil subscriptions are on atom/selector updaters, while Redux is on all actions. So if you have N connected component and dispatch … Continue reading Is It Time Yet to Embrace Recoil instead of Redux in React?
Is Recoil Going to be the New Redux in React?
Recoil is a new state management library for React that lets you manage global/sharable state in a Reactish way. What's great is that Recoil is being developed by the Facebook team. In this blog we'll take a look at the useRecoilState hook and how they have made it is so 'React'-ish? Let’s take a very simple … Continue reading Is Recoil Going to be the New Redux in React?
Learn About Immutability with Immer in React
In React applications the most important part is the application state. We can maintain local state within the component or global state across the application using Redux. Managing the state becomes crucial as we may have inconsistent app behavior or have bugs if the state is not managed properly. So while dealing with the state … Continue reading Learn About Immutability with Immer in React