Articles about hooks on Dévoreur 2 Code

What is memoization in React

Learn how to optimize your ReactJS application by implementing memoization using TypeScript. This article covers the basics of memoization, how it works, and how you can use it.

3/8/2023

Written by Fabien Schlegel

Fabien Schlegel

How to useEffect hook in your React components

The useEffect hook for React helps you to create side effects in your functional components.

1/4/2023

Written by Fabien Schlegel

Fabien Schlegel

Manage your state with the useState hook in React

How to useState in functional components. The first hook you can use in a React project.

11/11/2022

Written by Fabien Schlegel

Fabien Schlegel

How to test React Hooks

When you use hooks, you can write them in their own file. And you could test them.

5/20/2021

Written by Fabien Schlegel

Fabien Schlegel

Five tips about React hooks

Today, when you use React and functional components, you need hooks. I've encountered some issues during development and today, I want to share my tips about React hooks with you.

5/14/2021

Written by Fabien Schlegel

Fabien Schlegel