Weather App Using React 16 Context API ( Code Review )

preview_player
Показать описание
In this video I will show you how to add the React 16 Context API, to manage the data through your components.
In this case I will pass the response received from the Apixu Weather API to be managed and consumed on the child component.
I would recommend that, if you still need to manage a lot of data, use Redux instead, that way you could separate more clearly the functionality of your app, in case you manage a small amount of data use the Context API, since is takes few steps to implement.
Рекомендации по теме
visit shbcf.ru