React Hooks useContext Explained

Publié le: 18 décembre 2019
sur la chaîne: Renan Lopes
1,622
62

In this episode, we will focus on learning the context API with react hooks which are a new modern way of writing react code. The context API provides us with a useful hook called useContext that lets us use a state in any of the components we want in the tree.

The reason you might need a state management tool like the context API or redux is to be able to share info between your components in your react application.

Github Repository: https://github.com/renanlopescoder/us...


Sur cette page du site, vous pouvez voir la vidéo en ligne React Hooks useContext Explained durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Renan Lopes 18 décembre 2019, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,622 fois et il a aimé 62 téléspectateurs. Bon visionnage!