Hooks in practice : system of favorites in localstorage

Create your first hook and reuse it in your React apps

Photo by Milada Vigerova on Unsplash



A bit of theory

Start the project

Creation of our components

Setting up the hook

Using our hook in our component

French independant developer.