React Context API with TypeScript | UserContext React TypeScript

preview_player
Показать описание
Follow me on Twitter:

Follow me on LinkedIn

Follow me on GitHub

Website

Join this channel to get access to perks and exclusive videos:
Рекомендации по теме
Комментарии
Автор

You legit saved me. I've watched so many tutorials and they didnt make any sense with typescript. I copied your code and played around with it and it made so much sense. The solution was so simple, but it was hard for me to understand. Thank you so much man!!

TabuHana
Автор

This doesn't compile in React 18 and Typescrip
Tip: It is incredibly useful if you publish the code for your lectures somewhere

terjeber
Автор

Thank you for this video.
I had given up on typescript and was going to revert to Javascript until I found this video.

AllySykes-fixd
Автор

from all guides online this vid really helped, comment for the algorithm, much deserved, thanks!

admin_exe
Автор

Thanks for the tutorial man. I wasn't sure how to type everything in the app I'm working on, so you were very helpful👍

CussionTR
Автор

Awesome. Best explanation. Thank you so much. Solved every query of context

dontignore
Автор

love you its since some days I cannot do it, you are a master in react !

timothedavid
Автор

Very insightful. Thanks for making a complex topic look simple 🙌🙌

chrisstef
Автор

Really a great tutorial. very underrated video

faizanahmad
Автор

this video was so calming and nice to watch. thanks :D

connornusser-mclemore
Автор

very detailed ❤️thank you very much💯💯🙌

nwekemaxwell
Автор

Thank You sir this very helpful video me

usertechguru
Автор

how to get the suggestion lines of code as you got in the video. If we need to use any extension what is that ?

AshokKumar-down
Автор

your sample looked very clean and structured, thanks for the session.
is this code available some where?
I am facing an issue with passing the user object in tsx (<UserContext.Provider value={{ user, setUser }}>)
it throws not assignable error for 'user'

jareeshcm
Автор

Thanks a lot for this video, so much helpfull

AndersonMavi
Автор

Thank you so much. This helped me a lot.

spiralforge
Автор

What if you declare handler functions inside userprovider and try to pass them into the user details as values. Typescript will complain that they are not in the initial state. I wanna be able to pass derived state variables into the context provider without initializing them in state

Victor-Ike
Автор

share which plugin you use fo this auto-suggestion/snippet

zubaerhaq