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
En esta página del sitio puede ver el video en línea #React de Duración hora minuto segunda en buena calidad , que subió el usuario Watch and Learn 07 marzo 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 4,061 veces y le gustó 77 a los espectadores. Disfruta viendo!