Articles about javascript on Dévoreur 2 Code

How to structure your React app

Without a proper strategy in place, working on a React project can become a daily chore and an overwhelming task.

1/25/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

Understand and use composition in React

Composition is very powerful in React but for some cases, it may be hard to use. Today I will give you examples of composition caught up in real projects.

7/9/2021

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