Blog

I've been writing online since 2012, mostly about web development and tech careers. In total, I've written 4 article(s) on this site. Use the search below to filter by title.

Recent Posts

A neat little trick to avoid useEffect in React

Many argue that useEffect should be avoided at all costs. I atleast agree that it shoud be scarcely used, and then too only when required. Here we will see how we can leverage React keys 🔑 to prevent using useEffect, and if it's the right way

React Server Components

What are React Server Components actually? How they differ from other types of components? How does it changes things for you as a developer? And, how can you use them?

useEffect firing twice in React 18

React 18 causes useEffect to fire twice. We'll inspect if this is really an issue, or it shows some of hidden buggs in your code. Also, what is the use of useEffect hook and do you really need it? We'll take a deep dive on all of these topics

All Posts

A neat little trick to avoid useEffect in React

Many argue that useEffect should be avoided at all costs. I atleast agree that it shoud be scarcely used, and then too only when required. Here we will see how we can leverage React keys 🔑 to prevent using useEffect, and if it's the right way

React Server Components

What are React Server Components actually? How they differ from other types of components? How does it changes things for you as a developer? And, how can you use them?

useEffect firing twice in React 18

React 18 causes useEffect to fire twice. We'll inspect if this is really an issue, or it shows some of hidden buggs in your code. Also, what is the use of useEffect hook and do you really need it? We'll take a deep dive on all of these topics

Batching in React

React's useState is more tricky than it seems. Depending on where it is used, it's behaviour can change. Also, we'll see how this behavior is made consistent in React 18