Wow! There's a lot going on in this innocent looking 23 minutes. It forced me to wake up and think. Thanks. I'll look forward to the next one. I need all the typescript help I can get.
Great video Dave, I wish I had someone explained react hooks like that to me when I first started, it would have been much easier for me , thank you man Remember to keep striving for progress over perfection ..... :)
one thing you must know, no matter how good teacher you get at time first time learning, you will still learn something new after believing you have master something, I value author great efforts, you wouldn't have praised him if you haven't watched basic things year before, think of it as required step, even if I learn first time from this video and after year watch new explanation I will get more understanding and I will feel this is much better then from where I learnt earlier. its gradual process no one can deny :)
@@hanzladev Nevertheless, the man is doing really great job for free... and even when i watch things that are really advanced explained by him i still understand every little thing he explaineds
@@hosamgnaba3205 from no angle I have said bad about auther, I have huge respect for him because of his efforts But my POV was different in above point, I don't you understood that
@@DaveGrayTeachesCode and what a nice journey, I hope things will get better soon so I can give something in return (although it seems very unlikely) Be sure that I'll watch and like your videos even if you don't see me in the comment section. Sincerely yours
Explanations are so clear, I understood everything on the first try!!! Also, it seems that you do not explain what useRef does specificaly but, on the other hand, I have google. Great video!
Thank you! useRef video here: ruclips.net/video/s6UAuFzL308/видео.html I think you can search my channel for videos by using my channel homepage, too. 💯
thanks for the explanation! how about set state of the user inside use effect? i'm struggling to match the type because the data that i want to pass into the state come from an API
by far the best illustration, i would like to see if you can mix useReducer, useSelector and useContext all together with above video. that will be complex. I think you can, and this will beat Ng and Vue since they are not even close to what React can do today.
Hi Dave, Thanks for your great tutorials. Please make more videos, especially advanced examples. Good luck. Also, What is the theme of your VSCode in this video?
Hi Dave. Awesome video and detailed explanation as always. I already know and use Typescript, but I still gained a lot from this tutorial. Please I'd like to know the name of the vscode extension you used to change the case of the useState variables automatically. Thanks
there is depend on what u want in further with ur types, basically u can use both of them at same time. but slightly different are when u have two interfaces and wanna to merge them. with interface. e.g : interface IOne { name : string } interface ITwo extends IOne // interface ITwo implementsIOne {} { age : number } interface is more or less like a class form. with type ; type TOne = { name : string } type TMerge = TOne & {age : number} // or u can type with union, intersection ,and so on
This is a debate that even some of the TS gurus go back and forth on. The React + TS cheatsheet linked in the description addresses this here: github.com/typescript-cheatsheets/react#types-or-interfaces
I don't know, but that is frustrating. RUclips has been making changes, but surely, they would not remove a feature that makes content more accessible. Maybe they are working on something.
You will find conflicting answers as it comes down to preference. However, I do find using interfaces to be useful when working with classes. Most of the time, I reach for type.
what an effort dave .... thanks to you now I understand typescript but I have a question related to this video, please (e: MouseEvent | KeyboardEvent) why did you use this? what is the case that will make me use such a thing thanks a lot
Loved it. I was looking for this. Documentations were not enough. Thank you
Right on!
Wow! There's a lot going on in this innocent looking 23 minutes. It forced me to wake up and think. Thanks. I'll look forward to the next one. I need all the typescript help I can get.
Glad to hear that!
amazing thank you dave
You're welcome!
We are ‘hooked’ on Dave Gray!!🪝
I see what you did there! 😆
Road to 100k subs, keep it going Mr.Gray. Thanks for your huge contributes to the community
Much appreciated!
Thank you so much for this informative video, for a beginner who just started to learn Typescript React like me, your channel is so so cool.
You're very welcome!
Great video Dave, I wish I had someone explained react hooks like that to me when I first started, it would have been much easier for me , thank you man
Remember to keep striving for progress over perfection ..... :)
Glad it was helpful!
one thing you must know, no matter how good teacher you get at time first time learning, you will still learn something new after believing you have master something,
I value author great efforts,
you wouldn't have praised him if you haven't watched basic things year before, think of it as required step, even if I learn first time from this video and after year watch new explanation I will get more understanding and I will feel this is much better then from where I learnt earlier.
its gradual process no one can deny :)
@@hanzladev Nevertheless, the man is doing really great job for free... and even when i watch things that are really advanced explained by him i still understand every little thing he explaineds
@@hosamgnaba3205 from no angle I have said bad about auther, I have huge respect for him because of his efforts
But my POV was different in above point, I don't you understood that
omg, you are the best, what is the next subject of your video?
Thanks Michael! I mention near the end of this one :)
Please make a next JS course ! & react native one really enjoy learning from this channel.
I've been so exhausted recently and I feel like I need to thank you for this refresher,
100K is getting closer 🚀⭐
Thanks Dave
You're welcome, Ahmad! Good to hear from you and thank you for joining me on this journey! 🚀
@@DaveGrayTeachesCode and what a nice journey,
I hope things will get better soon so I can give something in return (although it seems very unlikely)
Be sure that I'll watch and like your videos even if you don't see me in the comment section.
Sincerely yours
Dave, you are one of the best tutors. Keep it up!
Thank you! 🙏🙏
Explanations are so clear, I understood everything on the first try!!! Also, it seems that you do not explain what useRef does specificaly but, on the other hand, I have google. Great video!
Thank you! useRef video here: ruclips.net/video/s6UAuFzL308/видео.html I think you can search my channel for videos by using my channel homepage, too. 💯
Always great content. Remember to keep thriving for progress over perfection.
Thank you! Striving even! 😀
Like 👍🏼 just because of that extension recommendation 🔥 now I’m going to continue watching the video which is already great
Glad to hear it!
thanks for the explanation! how about set state of the user inside use effect? i'm struggling to match the type because the data that i want to pass into the state come from an API
Your content is awesome. Such practical examples . I was able to derive a lot of intelligence from it.
Glad to hear that!
I already know this . But I still need to get a cup of coffee and enjoy your tutorial on this topic cos I know ama learn new stuff
Thank you! ☕
thank u so much
You're welcome!
Amazing content as always!
Few days away from 100K 🔥🔥
Thank you!
Dear Sir advance congratulations for 100k . You are very hard working man ❤️❤️😊❤️😊.
Many many thanks!
Thanks!!
Welcome!
Good explanation with typescript in easy way. Thanks
You're welcome!
Thank u .I can understand it clearly
You are number one.
🙏🙏
by far the best illustration, i would like to see if you can mix useReducer, useSelector and useContext all together with above video. that will be complex. I think you can, and this will beat Ng and Vue since they are not even close to what React can do today.
Great way to explain and great extension!
Do you have any video on the channel explaining in which cases to use type or interface? Thanks
That's a topic up for debate as both type and interface work. I find myself using interface for classes and type for most everything else.
Amazing tutorial thank you
You're very welcome!
Thank you !
You're welcome!
Amazing video sir. Would you please give me the extension name for highlighting the closing bracket in your video?
Here you go: ruclips.net/user/shortsMDaxWffMjrQ
Check out Dave's shorts video on case preserve and camelCase preserve. Thanks for the tip. I always wondered.
Welcome! Link: ruclips.net/user/shortszDiJpqVbszk
Gold man
Hi Dave, Thanks for your great tutorials. Please make more videos, especially advanced examples. Good luck.
Also, What is the theme of your VSCode in this video?
You're welcome! Here is a short showing my theme: ruclips.net/user/shortsdp4u1NNFhtE
@@DaveGrayTeachesCode Thanks. Also, I suggest you try Ayu Mirage Theme. I think it is very good.
Hi Dave. Awesome video and detailed explanation as always. I already know and use Typescript, but I still gained a lot from this tutorial. Please I'd like to know the name of the vscode extension you used to change the case of the useState variables automatically. Thanks
Thank you! I made a quick short about the VS Code extension you want: ruclips.net/user/shortszDiJpqVbszk
Haha I said you were going to make it to 100k this year...you've got this! :)
Thank you! 🚀🚀
I really like your videos and I was wondering if you can do a full stack app in flutter?
Thanks for the request! I have not covered any Flutter here yet. Maybe one day!
Can you explain when to use interfaces and when to use type?
there is depend on what u want in further with ur types, basically u can use both of them at same time.
but slightly different are when u have two interfaces and wanna to merge them.
with interface.
e.g :
interface IOne {
name : string
}
interface ITwo extends IOne // interface ITwo implementsIOne {}
{
age : number
}
interface is more or less like a class form.
with type ;
type TOne = {
name : string
}
type TMerge = TOne & {age : number} // or u can type with union, intersection ,and so on
This is a debate that even some of the TS gurus go back and forth on. The React + TS cheatsheet linked in the description addresses this here: github.com/typescript-cheatsheets/react#types-or-interfaces
@@proletar3799 thanks bro
@@DaveGrayTeachesCode great, thanks
@@imam_robani sama-sama bro, semoga membantu sedikit.
Why does automatic subtitles no longer work in videos?
I don't know, but that is frustrating. RUclips has been making changes, but surely, they would not remove a feature that makes content more accessible. Maybe they are working on something.
Thanks for everything you give us
When to use type and interface?, What's their difference? Thanks in advance🙏😊
You will find conflicting answers as it comes down to preference. However, I do find using interfaces to be useful when working with classes. Most of the time, I reach for type.
thx
what an effort dave .... thanks to you now I understand typescript but I have a question related to this video, please
(e: MouseEvent | KeyboardEvent) why did you use this? what is the case that will make me use such a thing
thanks a lot
A button can be clicked with a mouse or pressed with a keyboard. This just provides the event type.
Did he explain why he switches between `type` and `interface`?
I usually use interface for classes. Otherwise I stick with type.
Sir after i completed you web development course can I get job.
Keep learning. One course likely won't be enough. In this industry, I am constantly learning. Just keep going.
What i should be say again? Right,
thank you, Dave
You're welcome!
its just a matter of time before you get more subs and becoming more popular
Thank you!
Strapi starts soon....
this video are helpful but please use an english basic. at least thx for your good work