#React

Опубликовано: 07 Март 2020
на канале: 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  


На этой странице сайта вы можете посмотреть видео онлайн #React длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Watch and Learn 07 Март 2020, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 4,061 раз и оно понравилось 77 зрителям. Приятного просмотра!