In this Video you will learn how to work with react context api for state managment by build a E-commerce shopping cart. This saves prop drilling with useState and is easier to manage state on lager projects.
Help support the channel: https://www.buymeacoffee.com/tommykelly100
Git Repo: https://github.com/TommmyKelly/shoping-cart-with-context-api
FaceBook: https://www.facebook.com/tommyKelly100CodingTutorials
Instgram: https://www.instagram.com/tommykelly100/
#react #developer #coding
Table of Contents:
00:00 - Introduction
02:21 - Create react app
06:16 - data.js
07:00 - Screens setup
08:54 - HomeScreen.js
14:01 - ProductCard.js
24:54 - Rating.js
37:24 - Nav.js
41:39 - Context API
1:11:45 - Cart.js
1:24:41 - CartItem.js