#51 Using React Context vs props | Side effect, Reducer and Context | A Complete React Course

Publié le: 12 juillet 2022
sur la chaîne: procademy
1,815
43

In this lecture, let's briefly understand when to use react context and when to use props in a react application. We can use react context when we want to pass a state from one component to its child components, forwarding it from one child to another child. On the other hand, we can use props when we want to use a state directly inside the immediate child component.


Sur cette page du site, vous pouvez voir la vidéo en ligne #51 Using React Context vs props | Side effect, Reducer and Context | A Complete React Course durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur procademy 12 juillet 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,815 fois et il a aimé 43 téléspectateurs. Bon visionnage!