Комментарии:
Dear sir, will you please elaborate how to pass useref from context in react ts
Ответить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?
Ответитьwhy cant you just use same theme object and directly apply it to the box style omitting useContext completely idk
Ответитьgreat tutorial thanks a lot ❤
ОтветитьThemeContext got type 'any' is not it? How to give proper type here?
ОтветитьGreat series for beginners.
Just remember if typescript is happy then you're happy 😊
Easy to understand thanks
ОтветитьI spend entire day to figure out this and at the end of the day I found our tutorial thank you
Ответить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?
ОтветитьOh man. I've been trying to figure this out for a while, and it finally clicked. Thank you!
ОтветитьNot bad, but you sound less human than Zuckerburg
Ответитьnice typescript tutorial without using typescript
ОтветитьTks man, i finally learned useContext, really great video, keep going!
Ответить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?
Ответить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
Haha I’m thinking about changing my career :D
Ответитьwhy did you use 'theme' as an argument for createContext?
Ответитьwhy do you use TS if you don't take any advantage of it?
Ответитьhow to solve many re renders in Context API?
Ответитьwow
Ответитьty
Ответить