useEffect

Avoiding race conditions and memory leaks in React useEffect

Let us take a look at an implementation of getting data from an API request and see if there is any possibility...

Provide callback to useState hook like setState

If you have been writing class components for a while, you might be familiar with the callback functionality that the setState function...

React Hooks and Local Storage: Let’s build a ToDo app

React hooks have been around for quite some time. They have been widely adopted by the React community since then and have...

Hi there! Want some more knowledge?

Think that the knowledge shared is helpful? You might want to give our mailing list a try. We'll send you 2-4 emails a month, right when new posts come out.