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?
Category: Frontend Development
React Tricks: Customizing your useEffect to run ONLY when you want!
INTRODUCTION The useEffect hook in the world of React's functional components operates as a componentDidMount, componentDidUpdate and componentWillUnmount - all in one. But what if you only wanted to trigger one of the effects at a time. How would you accomplish this? Before we dive into it, let's understand a little more about how the … Continue reading React Tricks: Customizing your useEffect to run ONLY when you want!