filmov
tv
Use Context to Manage Current User State - Introduction to React #8
![preview_player](https://i.ytimg.com/vi/hn-c0u2mDIQ/maxresdefault.jpg)
Показать описание
The React Context API allows passing data through the component tree without passing it as a prop at every level. It’s frequently used for global state like the current logged in user, themes, and other application-wide preferences. In this video I’ll focus on one of the most common use cases for context – storing information about the current user.
Contents:
0:00 Introduction
0:30 Introducing the Example App
0:50 The Component Tree
1:04 The Problem: Prop Drilling
1:20 The Solution: Context
1:33 Creating a Context
1:49 Setting up the Context Provider
2:23 Using the Context as Consumer
3:02 Passing State with Context
4:15 Abstracting the Context State and Provider
4:45 Conclusion
#react #course
Contents:
0:00 Introduction
0:30 Introducing the Example App
0:50 The Component Tree
1:04 The Problem: Prop Drilling
1:20 The Solution: Context
1:33 Creating a Context
1:49 Setting up the Context Provider
2:23 Using the Context as Consumer
3:02 Passing State with Context
4:15 Abstracting the Context State and Provider
4:45 Conclusion
#react #course
Learn React Hooks: useContext - Simply Explained!
Use Context to Manage Current User State - Introduction to React #8
Learn useContext In 13 Minutes
How to Use the React Context API for Global State Management
Context API Tutorial For Beginners - Using React Hooks
This Makes State Management so Much Easier
#64: Context API & useContext Hook in React v19 in Hindi
Redux or Context in React
Mastering React Context: Do you NEED a state manager?
Context API in react | get the concept
ReactJS Course [9] - UseContext Hook | State Management
React UseContext
State Management in React | Context API useContext | React Tutorials for Beginners
React State Management – Intermediate JavaScript Course
All you need to know about the Context API | React Context API Crash Course
useContext en 20 minutos
Making React Context FAST!
React Context, useContext and createContext // Lifting Props
React Redux vs Context API | Which One is Better? #shorts
useContext hook: Using React Context API | Complete React Course in Hindi #58
ContextAPI | useContext Hook|Prop Drilling @NishaSingla
React State Management using Context API (useContext + useReducer Hooks = Magic 💥)
Usecontext React Hooks Example - Learn by Doing
Context API crash course with 2 projects
Комментарии