#React

Publié le: 07 mars 2020
sur la chaîne: Watch and Learn
4,061
77

In this episode series we are going to take a look at #ContextAPI which comes built in React, and is nice way to share data with you React components.

First of all I'm going to show you something called **Prop Drilling**, which all by it self is not a bad thing, it is a pattern that you will come to get to know while working with React. However, as you will see in this video it can bacome pretty unwieldy very fast if you don't plan composition of your components.

So when sending data between components becomes very complex you can alleviate the situation with Context API which you can use to send data to nested components or even as a simple state management tool. It's very cool as you will see.



Code used in this video

http://bit.ly/2PXzcRI

You can support my work on Patreon

  / watchlearn  

Follow me on Social Media

Github: https://github.com/ivandoric
Twitter:   / ivan_doric  
Instagram:   / watchlearntuts  
Facebook:   / watchlearntutorials  


Sur cette page du site, vous pouvez voir la vidéo en ligne #React durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Watch and Learn 07 mars 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 4,061 fois et il a aimé 77 téléspectateurs. Bon visionnage!