React TypeScript Tutorial - 14 - useContext Hook

React TypeScript Tutorial - 14 - useContext Hook

Codevolution

2 года назад

90,214 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Rahul Yadav
Rahul Yadav - 30.10.2023 17:32

Dear sir, will you please elaborate how to pass useref from context in react ts

Ответить
Michael Otu
Michael Otu - 06.10.2023 10:21

I am new to react and earlier you mention in the video on props (Styled components), we can pass the style as a prop. Couldn't we have passed the theme as a prop?

Ответить
Andrei R
Andrei R - 06.09.2023 15:54

why cant you just use same theme object and directly apply it to the box style omitting useContext completely idk

Ответить
NOTHING
NOTHING - 20.07.2023 12:38

great tutorial thanks a lot ❤

Ответить
mujtaba hassan😎
mujtaba hassan😎 - 05.05.2023 20:50

ThemeContext got type 'any' is not it? How to give proper type here?

Ответить
Omkar Deshmukh
Omkar Deshmukh - 23.04.2023 03:03

Great series for beginners.

Just remember if typescript is happy then you're happy 😊

Ответить
PT_Trainer
PT_Trainer - 26.03.2023 19:32

Easy to understand thanks

Ответить
Siddhant Shelake
Siddhant Shelake - 08.02.2023 18:38

I spend entire day to figure out this and at the end of the day I found our tutorial thank you

Ответить
George Nonis
George Nonis - 16.01.2023 17:39

Im trying to pass down as a value a setState function and also the value it self and I cant get around it. Any tip?

Ответить
David Clawson
David Clawson - 15.12.2022 09:20

Oh man. I've been trying to figure this out for a while, and it finally clicked. Thank you!

Ответить
Go with Christ
Go with Christ - 29.11.2022 10:54

Not bad, but you sound less human than Zuckerburg

Ответить
momo
momo - 01.09.2022 15:26

nice typescript tutorial without using typescript

Ответить
Felipe
Felipe - 15.07.2022 04:48

Tks man, i finally learned useContext, really great video, keep going!

Ответить
Code Machine
Code Machine - 01.07.2022 14:38

How do I go about passing other prop values into the ThemeContextProvider component so they do not have the same type as the children prop of the ThemeContextProvider?

Ответить
Oleksii Shkulipa
Oleksii Shkulipa - 15.05.2022 15:37

thx for your job

But l have came across with high order component, can you please make video about this ? thx

it would be great

Ответить
AutoPilot69
AutoPilot69 - 14.04.2022 06:40

Haha I’m thinking about changing my career :D

Ответить
Venkat Avinash Karra
Venkat Avinash Karra - 12.02.2022 14:31

why did you use 'theme' as an argument for createContext?

Ответить
KURWAMACJAPIERD0LE
KURWAMACJAPIERD0LE - 01.02.2022 00:19

why do you use TS if you don't take any advantage of it?

Ответить
achraf lamri
achraf lamri - 02.12.2021 13:36

how to solve many re renders in Context API?

Ответить
genos
genos - 23.10.2021 23:53

wow

Ответить
Alex K.
Alex K. - 15.09.2021 22:43

ty

Ответить