Тёмный

React Typescript Tutorial 

Ben Awad
Подписаться 497 тыс.
Просмотров 574 тыс.
50% 1

Learn how to start using Typescript in your React code. I go over props, hooks, and render props.
#react #typescript
Snippets: gist.github.com/benawad/1e9dd...
Code: github.com/benawad/react-type...
For more information on this checkout: github.com/typescript-cheatsh...

----
Follow me online: voidpet.com/benawad
#benawad

Наука

Опубликовано:

 

28 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 418   
@NychroneIB
@NychroneIB 4 года назад
Subbed. Finally, a dev tutorial that actually shows TS in context RATHER than foo bar baz and mythical one off instruction scenarios.
@bawad
@bawad 4 года назад
welcome :)
@danm2756
@danm2756 3 года назад
This dude actually seems knowledgeable. Not just trying to get views using buzzwords, talking about top lists. As an applications developer, I approve!
@pearlsswine
@pearlsswine 3 года назад
Don't forget: "Today, we're going to learn TypeScript with React. Okay, let's import Bootstrap and waste 15 minutes copying and pasting boostrap code for a toy project"
@exgc12
@exgc12 3 года назад
@@pearlsswine When I was trying to learn Node.js I always hated that most tutorials were like "Learn how to make a Node server.....which includes these 20 obscure packages that will confuse you"
@rizqyhbb
@rizqyhbb 2 года назад
Loled
@liamdavis492
@liamdavis492 4 года назад
Typescript seemed so intimidating and you just made it relevant and simple within the context of my current knowledge. thank you so much
@stills2359
@stills2359 2 года назад
ikr!
@robbieyy
@robbieyy 4 года назад
Super! Exactly the issues I ran in to after a day of trying to use React TS... Thanks a lot.
@SayanMondal342
@SayanMondal342 4 года назад
I really like how he touches all the important things which are really the foundations to being a better developer. Looking into the definitions, understanding the function signatures and also using hooks for the example. Amazing! I'm happy I got this as a recommendation.
@ozanmuldur4565
@ozanmuldur4565 3 года назад
You are the man dude, people made video to explain what you doing in 3 hours, respect !
@0v3rwh3lm3d
@0v3rwh3lm3d 4 года назад
Ben, you're awesome, mate! Hats off to you for amazing and useful tutorials, I really enjoy them and take a lot of useful stuff for my work. Again, thank you!
@chriszhang3629
@chriszhang3629 4 года назад
Please keep doing what you are doing now, you're really amazing!!
@pelinkayhan
@pelinkayhan 4 года назад
Before that video I was lost for the documents and I was looked at the code which was given me. Now I'm able to understand.Thanks a lot.
@JordanRhea
@JordanRhea 4 года назад
This video came at the perfect time. Very clearly explained!
@stevereid636
@stevereid636 4 года назад
Brilliant! This is just what I've been looking for👍🏾
@ameliamargaurite3150
@ameliamargaurite3150 3 года назад
Omg, 6mins in and I'm sold. I just started my first web dev job and they're using React with Typescript. Never used Typescript before and this just cleared up so much of what i wasnt understanding in their code. Thank you!
@a999haa
@a999haa 3 года назад
Appreciate the just about enough tutorial that one would need as an experienced React dev wanting to get into Typescript!! Great video !
@liftingisfun2350
@liftingisfun2350 4 года назад
You are a fantastic teacher, I appreciate most that you explain every detail, even when you mess up and why and even why it was important at all. Thank you
@recycletv7145
@recycletv7145 3 года назад
Geezzz days of tutorial converted in 30mins on this video... Thanks Ben!
@yogajourney9519
@yogajourney9519 2 года назад
I'm currently migrating a project over to Typescript. Less than 3 minutes into the video you've already helped me fix my issue. Thank you!
@nirvanacore5543
@nirvanacore5543 3 года назад
this was the most refined react typescript tutorial I got. helped a lot for learning typescript in react, thanks for sharing
@vs.cristian
@vs.cristian 4 года назад
Great video! Could you make a tutorial about unit testing react
@ankitmehrotra8519
@ankitmehrotra8519 4 года назад
Hey Ben, I am loving all your videos and going them one by one. The best thing about is the speed and also the way of explaining everything so wonderfully well.. Great going and yes I would also like you to make a unit testing videos covering JEST enzyme with snapshot testing..
@nengdeveloper7133
@nengdeveloper7133 2 года назад
I can't believe so much can be covered in less than 25 minutes. Love the straightforward explanation of important concepts + tips&tricks in TS. Thanks for this!
@Sindoku
@Sindoku 3 года назад
You have extremely natural teaching talent. I can just tell. Thanks for the great video.
@haiderimam8977
@haiderimam8977 Год назад
It’s just hard to believe how much knowledge this man can deliver in how little words. What a concise way of teaching. Such is the caliber of Ben awad, actually I’m quite surprised he haven’t developed a unicorn company yet as he often discuss in his videos. Anyhow thanks for the video, and please start making these knowledge sharing videos again.
@spongechameleon6940
@spongechameleon6940 3 года назад
Bruh your videos are the only ones where I don't have to watch at x1.5 speed. More than enough content coming my way. Thank you.
@chengxiaoxia8046
@chengxiaoxia8046 Год назад
Thanks Ben. Your course is amazing. Both motivational and inspirational. I learnt a lot of things in less than 2 hours. Now I begin to update my React project in JavaScript to NextJS + TypeScript. Thanks again.
@kiddchaos-titans
@kiddchaos-titans 4 года назад
You are very good at explaining the syntax! Thank you!
@detaaditya6237
@detaaditya6237 3 года назад
An actually decent explanation of the benefits of using TypeScript with React. Thank you!
@pashamachuca5900
@pashamachuca5900 4 года назад
Amazing Tutorial. I really enjoyed the way you explain and also the glimpses into shortcuts
@michaelantoni8323
@michaelantoni8323 3 года назад
I just finished learning TypeScript and wanted to implement it to my react app, its very neat and easy to understand Thank you.
@hectorjimenez7031
@hectorjimenez7031 2 года назад
Some of the best web dev content is found on this channel! Thanks a lot for your awesome explanations
@albinoiiicordova4811
@albinoiiicordova4811 3 года назад
Thanks Ben! Straight to the point and very practical tutorial. Appreciate it!
@notreal8973
@notreal8973 Год назад
Finally, a perfecttutorial for me! I already know typescript and react but needed someone to show me how to combine the two!
@viktoriianosova136
@viktoriianosova136 3 года назад
Thanks! I've just started with Typescript and this tutorial answered a lot of questions
@LeviXIII
@LeviXIII 4 года назад
Great, simple tutorial! Thanks for using a range of examples.
@farbodshabani8398
@farbodshabani8398 Год назад
I am actually surprised. This video is 4 years old and still you can use it. I definitely recommend this video if you want to have a little glance at how TS work in React world. I truly enjoyed it.
@lewissherlock6777
@lewissherlock6777 4 года назад
Awesomely helpful video. Thank you for creating this and sharing your knowledge, borther!
@darwyna
@darwyna 4 года назад
Thank you for this! Wish I could like this video more than once:)
@lotro234
@lotro234 Год назад
Great tutorial, loved how condensed and informative it was. Also pro tips are great
@kevinmarmet
@kevinmarmet 2 года назад
Fantastic. I’m a Senior dev getting into TS shockingly late lol and this helped answer some questions for me. Especially the hover tip, always wondered where some of the types came from other than Google lol
@arunramachandran2801
@arunramachandran2801 3 года назад
Great video. This is exactly what I was looking for when I started learning ( maybe many more people as well ) Typescript with React.
@Dizzifer9538
@Dizzifer9538 Год назад
So much information under 30 minutes. Love it...
@Shakeel714
@Shakeel714 3 года назад
Excellent explanation of React-TypeScript. Thanks Ben Awad, you are a cool teacher.
@VietNguyen-px3oz
@VietNguyen-px3oz Год назад
this youtube channel is pure a gold-mine. Thank you so much
@oceanbacon2896
@oceanbacon2896 2 года назад
This guy is legit, the way he explains stuff is amazing.
@Luxcium
@Luxcium 4 года назад
Wow 😮 I really enjoy your videos keep up the good work bro !!!
@mikeyura
@mikeyura 4 года назад
I like this tutorial, you have a nice style of explaining
@iahonz
@iahonz 3 года назад
Glad I watched this only just after I *recently* started a new project, easier to convert from js to ts!
@azs06
@azs06 4 года назад
Concise and to the point, excellent tutorial.
@floroz87
@floroz87 4 года назад
really good tutorial, clear and straightforward.
@battmarn
@battmarn 3 года назад
gotta love being at the skill level with typescript that you work with it professionally but still learn stuff from a starter tutorial like this
@sujeewarathnaweera
@sujeewarathnaweera 2 года назад
Gotta love seeing a *supposedly* professional programmer *trying* to beat the system by writing the *same comment multiple times* and RU-vid *display them together* , adjacent.
@priyasheth4477
@priyasheth4477 4 года назад
Great Video! I am new to React, TS and this is what I was looking for :)
@hvuupadhyay5418
@hvuupadhyay5418 3 года назад
Thanks! I appreciate your efforts! Really a great video if you wanna migrate to typescript-react from plain react
@harik1000
@harik1000 3 года назад
That's awesome. explained with simplicity. *Signed in* just to like the video.
@albin1568
@albin1568 3 года назад
love u ben. this should be the first thing on typescript website.
@TheTenThousandThings
@TheTenThousandThings 2 года назад
This is such a helpful, high density video, ty
@travianfreak1
@travianfreak1 4 года назад
Nice Video, keep up the good work. Was just starting out with TS :)
@christopherjohn5674
@christopherjohn5674 Год назад
less words, but all knowledge has been covered,thx very much bro
@aliasgar.burhani1099
@aliasgar.burhani1099 2 года назад
the accent and the sound quality of ben awad makes it soothing to hear
@gravelessForever
@gravelessForever 3 года назад
Ben Awad, you're my new favorite youtube coder
@rei8306
@rei8306 4 года назад
Love this tutorial!
@ruhulamin1741
@ruhulamin1741 4 года назад
I love you man! appreciate what you're doing.
@samjack6253
@samjack6253 2 года назад
That was quite helpful Ben 🙌
@KrisFoster1
@KrisFoster1 3 года назад
Great consise video that gets straight to the point, thank you!
@muhamadivan3956
@muhamadivan3956 4 года назад
thanks ben this is a really helpful tutorial for me
@sametmutevelli
@sametmutevelli 3 года назад
Awesome tutorial for starters like myself. Thanks!
@zeroph33r23
@zeroph33r23 4 года назад
Thanks a lot for this productive tutorial
@jarryingnaut
@jarryingnaut 3 года назад
Thanks, ben for making my life easy 😊
@gergelykontra7273
@gergelykontra7273 3 года назад
Don't be fooled by the young face of the speaker. This tutorial has very high quality! Many thanks for sharing.
@golansoffer6538
@golansoffer6538 2 года назад
Great video Ben, very helpful.
@alirezataleiasl5712
@alirezataleiasl5712 4 года назад
one of the few fellows you need to follow to get a good job or keep your current one :D
@muha8598
@muha8598 3 года назад
This is an awesome tutorial. Thanks!
@RoyerAdames
@RoyerAdames 3 года назад
Just what I was looking for thank you.
@MariusMathisenVLOG
@MariusMathisenVLOG 4 года назад
Great job! Helped me out alot. :)
@mahtube735
@mahtube735 2 года назад
Thank you. I was looking something for my buddies... Thank you
@igaimerca
@igaimerca 2 года назад
Very handy here, Thanks Ben
@mahdiboughanmi6781
@mahdiboughanmi6781 2 года назад
This man here deserves millions of subscribers
@JohnCamden
@JohnCamden 4 года назад
Maximum level helpfulness here.
@dannytv5434
@dannytv5434 3 года назад
You can just use the tsrafc snippet instead of creating a custom one for the TypeScript React Arrow Function Component. It's basically identical and comes with the ES7 React snippet extension from dsznajder, which most use already anyway.
@anathemia1
@anathemia1 4 года назад
This tutorial is on point!
@a.anvarbekov
@a.anvarbekov 2 года назад
thank you for telling Ctr + Space, i was looking for that
@Damixx111
@Damixx111 4 года назад
Thank you! Could you please do a video on using typescript with redux as well?
@renepromesse7410
@renepromesse7410 3 года назад
After watching this video, it took me 2minutes to fix the error that I had been facing since January 🎉🎉
@kal9421
@kal9421 2 года назад
Ben, you should become an instructor, You are one of the best I have seen.
@ashutoshsinghchauhan7508
@ashutoshsinghchauhan7508 2 года назад
Amazing Bro ! Thanks for the tutorial !
@LeetCodeSimplified
@LeetCodeSimplified 3 года назад
_Timestamps:_ 00:00 *Introduction* -- 00:36 Setting up a Project -- 01:15 Project Overview 01:39 *Props* (Declaring Components and Passing in Props) -- 02:29 Using Interfaces -- 03:40 Data Types -- 04:35 Passing in Interfaces -- 05:20 Optional Props 06:31 *Hooks* -- 06:34 useState ---- 07:04 Unions (Multiple Types) -- 08:47 useRef ---- 09:27 HTML Input Element ---- 09:50 Pro Tip (Hover Technique) ---- 12:14 HTML Div Element ---- 12:41 onChange -- 14:36 useReducer ---- 15:03 Passing in Types ---- 16:14 Arrays 17:41 *Render Props* -- 17:54 File Names -- 18:20 User Snippets -- 22:20 Pro Tip (Examining Types)
@tekk7989
@tekk7989 3 года назад
Thank you so much for the timestamps!!
@LeetCodeSimplified
@LeetCodeSimplified 3 года назад
@@tekk7989 You're welcome!
@__greg__
@__greg__ 2 года назад
Very helpful, thanks for sharing!
@konstantinmodin6977
@konstantinmodin6977 4 года назад
Cool explanation, definitely will use hovering.
@milacful
@milacful 4 года назад
awesome, thank you Ben!
@erickloningo2252
@erickloningo2252 4 года назад
Thanks man. this was really helpful
@ougininja8412
@ougininja8412 Год назад
the CTRL + Space is amazing
@ZawWLwin-jo7dc
@ZawWLwin-jo7dc 3 года назад
thank you, your videos are very educational
@narekmalkhasyan9636
@narekmalkhasyan9636 3 года назад
Great video! Thanks a lot for easiest tutorial.
@oscarchan5684
@oscarchan5684 2 года назад
Thanks! Really helps me a lot!
@christiantrinidad6619
@christiantrinidad6619 4 года назад
awesome video! Would love it if you can make another describing the differences between types and interfaces in typescript!
@bawad
@bawad 4 года назад
I actually don't know all the differences, what I do is use interface for objects and type for everything else
@processorbot8761
@processorbot8761 3 года назад
saving for ref thank you Ben!!
@devdiedelta2706
@devdiedelta2706 4 года назад
Thanks BEN Great tutorial
@hayounglee5929
@hayounglee5929 3 года назад
Thank you! I love your video!
@anabelly
@anabelly 3 года назад
This is exactly what I've been looking for. It's amazing that it's so hard to find a basic introduction to using Typescript with React. I thought there would be a ton of resources on this. I do have a doubt: when you're showing the useReducer hook I noticed that you use type and interface to define types. I've read they are similar (and that interface is preferred). Is there a reason behind the choice of type/interface for this? Thank you for sharing this!
@JonesDTaylor
@JonesDTaylor 4 года назад
Really great video. Thanks a lot.
@moloodayat6039
@moloodayat6039 4 года назад
you made the great tutorial ever thanx
@doaashafik3073
@doaashafik3073 2 года назад
Its just amazing video! ❤ Thanks alot
@mtcindianutube
@mtcindianutube 3 года назад
Thanks a lot, really helped me to understand. :)
Далее
Typescript Generics Tutorial
21:56
Просмотров 218 тыс.
Я КУПИЛ САМЫЙ МОЩНЫЙ МОТОЦИКЛ!
59:15
Воскресный утренний стрим!
1:00:16
React Typescript Tutorial for Beginners
28:24
Просмотров 75 тыс.
TypeScript - The Basics
12:01
Просмотров 1,5 млн
React Hooks Tutorial
1:45:07
Просмотров 239 тыс.
Learn TypeScript Generics In 13 Minutes
12:52
Просмотров 244 тыс.
JWT Authentication Node.js Tutorial with GraphQL and React
3:04:08
React with TypeScript Crash Course
1:07:05
Просмотров 238 тыс.
TypeScript in React - COMPLETE Tutorial (Crash Course)
53:21
How to use TypeScript with React... But should you?
6:36
TypeScript Crash Course
52:27
Просмотров 596 тыс.
Это Xiaomi Su7 Max 🤯 #xiaomi #su7max
1:01
Просмотров 2 млн
Battery  low 🔋 🪫
0:10
Просмотров 13 млн