Immutability in Javascript & React

React is a famous library for building dynamic user interfaces. Data immutability is an idea that came from functional programming and applying it to design of your front end app can have many benefits. What is Data mutation? To understand the idea of data mutation, will need to step back to the foundations of programming and understand how … Continue reading Immutability in Javascript & React

Recoil — is this the new ‘Redux’ for 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 Recoil — is this the new ‘Redux’ for React?

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!