ReactJs useContext hook with Typescript - how to manage Authenticated user's data inside your app

  Рет қаралды 4,415

Amitav Roy

Amitav Roy

Жыл бұрын

#reactjs #javascript
In this video, we are going to look at a scenario where we can make use of React useContext hook to manage the authenticated user's object throughout the application.
We will understand the basics of React useContext hook and see how using it allows us to share common data across multiple components without the issues of prop drilling.
You can find me on:
Twitter: / amitavroy7​
Discord: / discord

Пікірлер: 16
@suzannashevchuk6314
@suzannashevchuk6314 Ай бұрын
Thank you for this video! I went through so many tutorials of context but none of them worked correctly, this one saved me 😅🎉
@amitavroydev
@amitavroydev Ай бұрын
Glad it helped!
@nicoleta8964
@nicoleta8964 Жыл бұрын
Very nice and useful tutorial! Thank you so much for this!
@amitavroydev
@amitavroydev Жыл бұрын
Glad it was helpful!
@creeky4twenty960
@creeky4twenty960 Жыл бұрын
Your channel is amazing!
@amitavroydev
@amitavroydev Жыл бұрын
Glad you think so!
@emmanuelareiza9699
@emmanuelareiza9699 Ай бұрын
Muchas Gracias
@amitavroydev
@amitavroydev Ай бұрын
You are welcome my friend
@saicharanreddydhruva6664
@saicharanreddydhruva6664 Жыл бұрын
Superb explanation sir and want some videos on filtering of the employees from the directory.
@amitavroydev
@amitavroydev Жыл бұрын
Will try
@putraprawira6853
@putraprawira6853 Жыл бұрын
thank you so much
@amitavroydev
@amitavroydev Жыл бұрын
You're welcome!
@nesticojavier
@nesticojavier 9 ай бұрын
But when you reload page the context's data is lost
@amitavroydev
@amitavroydev 9 ай бұрын
Make an API call on load. Most probably inside the useEffect hook. For more details, let's chat on discord
@notJustNumbersWhoSpeak
@notJustNumbersWhoSpeak 8 ай бұрын
code source please
@amitavroydev
@amitavroydev 7 ай бұрын
I don't think I have it
React Context API with TypeScript | UserContext React TypeScript
14:47
WebDevWithArtisan
Рет қаралды 13 М.
Context API in react | get the concept
29:00
Hitesh Choudhary
Рет қаралды 42 М.
Watermelon Cat?! 🙀 #cat #cute #kitten
00:56
Stocat
Рет қаралды 52 МЛН
🍕Пиццерия FNAF в реальной жизни #shorts
00:41
Always be more smart #shorts
00:32
Jin and Hattie
Рет қаралды 29 МЛН
Wait for the last one! 👀
00:28
Josh Horton
Рет қаралды 96 МЛН
React Native Login with JWT Auth Context
24:59
Simon Grimm
Рет қаралды 49 М.
Scaling your Node.js app using the "cluster" module
13:44
Software Developer Diaries
Рет қаралды 35 М.
Creating a desktop app using Electron + React + Tailwindcss
11:52
Reza Builds
Рет қаралды 2,9 М.
8 TypeScript Tips To Expand Your Mind (and improve your code)
10:54
How to Do 90% of What Plugins Do (With Just Vim)
1:14:03
thoughtbot
Рет қаралды 869 М.
Add Login/Auth to your React app in 5 mins
13:36
CoderOne
Рет қаралды 257 М.
React simple CRUD application | React Hooks | Typescript
1:38:34
LearnToCode with Sagar
Рет қаралды 41 М.
Watermelon Cat?! 🙀 #cat #cute #kitten
00:56
Stocat
Рет қаралды 52 МЛН