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
Auf dieser Seite können Sie das Online-Video #React mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Watch and Learn 07 März 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 4,061 Mal angesehen und es wurde von 77 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!