filmov
tv
React Context API Practical Example Tutorial - Among Us Clone Devlog [From Scratch] Ep.3

Показать описание
This tutorial covers State Management using the #React Context API through a practical example of building a web game (#AmongUs) using #NextJS. The React Context API was introduced as an alternative to third-party solutions for state management of a React app like Redux, for example.
We go over the basics and how you can type your contexts correctly if using TypesScript. In this case, we were able to exchange information between two distinct pages, sharing a player name that was collected through a custom made input on a custom-built modal styled with TailwindCSS.
Follow the series for more React goodies!
Chapters
0:00 - Intro
0:42 - Quick Recap
1:13 - Creating a Context
3:08 - Modal with TailwindCSS
8:00 - Using an Input in React
9:50 - Updating the Context
10:27 - Typing your Context
11:18 - The Results
11:34 - Outro
-----------------------------------------------------------------------------------------------------------------
- IF you like this video, please make sure to click the like button and share this with all your friends! 👍
- ANY comments or ideas? Share them with me down below! ✍
SIGNUP FOR THE NEWSLETTER
JOIN OUR NEWLY CREATED DISCORD CHANNEL
MY SOCIAL MEDIA
MY FILMING GEAR:
MY CODING GEAR:
COMPUTER SPECS:
(MacBook Pro 16'' 2019)
Intel i9 2,3 GHz 8-Core
16 GB 2667 MHz DDR4
Intel UHD Graphics 630 1536 MB
(Custom Built PC 2017)
We go over the basics and how you can type your contexts correctly if using TypesScript. In this case, we were able to exchange information between two distinct pages, sharing a player name that was collected through a custom made input on a custom-built modal styled with TailwindCSS.
Follow the series for more React goodies!
Chapters
0:00 - Intro
0:42 - Quick Recap
1:13 - Creating a Context
3:08 - Modal with TailwindCSS
8:00 - Using an Input in React
9:50 - Updating the Context
10:27 - Typing your Context
11:18 - The Results
11:34 - Outro
-----------------------------------------------------------------------------------------------------------------
- IF you like this video, please make sure to click the like button and share this with all your friends! 👍
- ANY comments or ideas? Share them with me down below! ✍
SIGNUP FOR THE NEWSLETTER
JOIN OUR NEWLY CREATED DISCORD CHANNEL
MY SOCIAL MEDIA
MY FILMING GEAR:
MY CODING GEAR:
COMPUTER SPECS:
(MacBook Pro 16'' 2019)
Intel i9 2,3 GHz 8-Core
16 GB 2667 MHz DDR4
Intel UHD Graphics 630 1536 MB
(Custom Built PC 2017)
Комментарии