Typescript for React Components From Beginners to Masters

Поделиться
HTML-код
  • Опубликовано: 24 авг 2024

Комментарии • 178

  • @not_cool_dev
    @not_cool_dev 2 года назад +50

    Quick tip for anyone watching this video in 2022 or later: The implicit children property was removed from the FunctionComponent & FC types in React 18. Using these types remains completely optional, but there is no reason to feel discouraged if you do.

  • @billpliske
    @billpliske 3 года назад +132

    From a designer perspective ... very smart to start things out with that outdoors intro. Not only is the video/audio clear, but you've set yourself apart from the competition with some originality. Well done.

    • @vinceypincey
      @vinceypincey 2 года назад +1

      Personally I agree wholeheartedly! Cheers

    • @doumkatekz
      @doumkatekz 2 года назад +5

      Yes, and no "WHAT"S UP GUYS!" ugh

    • @shlemekian
      @shlemekian 2 года назад

      Agreed. Nice to not be looking at an IDE right off the bat. Very engaging

  • @mervin9220
    @mervin9220 3 года назад +22

    This is fantastic! Thanks!
    I've been using FC on all my components didn't know this was the old way of doing it.

  • @arihantjain8347
    @arihantjain8347 Год назад +2

    I binge watch all these video, very less people are lucky enough to have such a vast library of premium information.

  • @geekySRM
    @geekySRM 3 года назад +7

    Starting a new job with React & TS! This will help a lot :)

  • @jermainebrayne437
    @jermainebrayne437 2 года назад +7

    Jack is like the David Attenborough of coding with a dash of Ron Weasley's magic

  • @dev-suresh
    @dev-suresh 5 месяцев назад +1

    Changed my thoughts on creating robust components. Thanks.

  • @adventurer2395
    @adventurer2395 2 года назад +1

    Thanks for inviting 90s Brad Pitt to give the video intro (those mannerisms 😂). Really appreciate your clarity and pace.

  • @todaysrapsux123
    @todaysrapsux123 3 года назад +3

    Thank you, Jack! I've been struggling with TS + React at my new job but this helped me so much!

  • @firebird77
    @firebird77 2 года назад +1

    Thanks, Jack! Your TS React content has gotten me up to speed very quickly.

  • @thanhnguyenhoai2727
    @thanhnguyenhoai2727 3 года назад +1

    coming from Mr.Brad's channel, I think you are a very great teacher. Thank you for spending a lot of effort on your videos.

  • @DennisHorn1981
    @DennisHorn1981 2 года назад +9

    Thanks a lot! Your tuts are great and I really appreciate your well structured and calm way of explainig! 😀👍

  • @jsricochet
    @jsricochet Год назад +3

    Clear and to the point .Thanks :) Loved the function passed as children.

  • @tendies
    @tendies 3 года назад +1

    Each video I watch my react game lvls up, thank you!

  • @martinemanuel8239
    @martinemanuel8239 2 года назад +1

    One of the best explanations here, I watched many videos in youtube, but Jack it's the best!

  • @YolkWorshiper
    @YolkWorshiper 3 года назад +4

    Thank you so much for this Jack, I greatly appreciate this and really enjoy your content!

  • @hideinbush0
    @hideinbush0 Год назад +1

    Very nice intro to the render props pattern!

  • @thehaptiK
    @thehaptiK 3 года назад +7

    perfect timing. thanks Jack

  • @Iyiola
    @Iyiola 3 года назад +3

    I'm back again to repeat myself and say I loved it!!!

  • @Viralvlogvideos
    @Viralvlogvideos 3 года назад +3

    your voice is so clear damn, your channel is under rated.

  • @stefanbrunner1591
    @stefanbrunner1591 2 года назад +3

    Honestly the best and easiest entry for me to start React with Typescript! Good Explanation, keep it up

  • @slikk66
    @slikk66 3 года назад +3

    new sub - great content. Just making another trip around to try out React, but wanted to learn it with Typescript. It's surprisingly hard content to find (done correctly)! Thanks!

  • @omar99ize
    @omar99ize 3 года назад +7

    I was just looking up videos on this yesterday and so I smiled when I saw this today!

  • @arianh
    @arianh 11 месяцев назад +1

    I learned a lot out of this video! Thanks a lot, Jack...

  • @user-gh6tc1bf9h
    @user-gh6tc1bf9h 2 года назад +3

    Thx for your work , Jack!

  • @learningit2572
    @learningit2572 Год назад +1

    Number One in RUclips! For me its so usefull

  • @richardwang3541
    @richardwang3541 3 года назад +2

    Just wanna say I am a huge huge fan of your React/TypeScript content. Subbed and can't wait for more :)

  • @chenvarsano200
    @chenvarsano200 2 года назад +1

    You are awesome! Loved that video! The generic one just set my mind on fire

  • @Luxcium
    @Luxcium Год назад +1

    This video is definitely not _smartphone friendly_ ... but it is really interesting so I had to come to my computer and wow this is definitely made for my 1080p the colors are amazing but the best is our beloved presenter... This Tutorialist is impressive (but you all know that already)... Just hope he can do videos no more than *15 lines of code* (with the terminal in a separate window)... So that I can watch while doing the dishes in my kitchen (I only have an iPhone)...

  • @jeremydeveloper32
    @jeremydeveloper32 2 года назад +1

    This video is great!
    Learned so much and I'll be putting this on my work right away!

  • @subhashmalireddy8211
    @subhashmalireddy8211 2 года назад +1

    22 minutes into the video, I subscribed

  • @r0x304
    @r0x304 3 года назад +1

    My favorite typescript coder.

  • @staefoded
    @staefoded 2 года назад +2

    love your teaching man...Well done

  • @usamasaleem5624
    @usamasaleem5624 2 года назад +1

    I see many awesome developers in youtube but You'r explanation and way of teaching is very awesome. Your content is so unique I can't find this content on whole you tube. I just have a just one request if you have a time so please make a one dedicated video on React, Redux toolkit, React Query with Typescript

  • @ToddDunning
    @ToddDunning 3 года назад +8

    Jack you are my favorite dev youtuber, between traversy, fireship and the rest. However, it would help me if you added more context in the usage examples. Here you do a good job showing the code examples but I would love to hear more opiniated....opinions about WHEN to do these and why I need to keep them in the back of my head. Thanks so very much!

    • @jherr
      @jherr  3 года назад +4

      Fair enough. Point well made and taken.

    • @ToddDunning
      @ToddDunning 3 года назад +1

      @@jherr OK now to continue my all-week marathon of your vids until my head hurts.

    • @jherr
      @jherr  3 года назад +1

      @@ToddDunning Enjoy! Not sure if that beats The Green Knight that I just saw. Sheesh, that was an overrated snooze fest.

  • @kadekwijaya5332
    @kadekwijaya5332 3 года назад +1

    Thanks for your clear explanation, its really helpfull for me learn ts using react😃

  • @1235niki
    @1235niki 3 года назад +1

    Thanks for the video Jack, very clear and easy to follow.

  • @ankitmehrotra8519
    @ankitmehrotra8519 3 года назад +1

    Thank you ..Learned so much about typescript in this video. Great explanation.. Will be checking out your other videos too.

  • @zdargahi
    @zdargahi 2 года назад +1

    thanks a lot Jack, please make more videos 😍

  • @Fatima-ie5kj
    @Fatima-ie5kj 3 года назад +2

    We are so fortunate to have an innovator like you: btw can someone tell how many times he says cool in this video? 😍

    • @jherr
      @jherr  3 года назад +1

      Now you're making me self-conscious about my 'So's, 'Alright's, and 'Cool's. ;)

  • @AxelRTas97
    @AxelRTas97 3 года назад +1

    You, sir, are my savior.

  • @stephancasas
    @stephancasas 3 года назад +1

    Outstanding! Really clear presentation.

  • @alancosta6438
    @alancosta6438 2 года назад +1

    This was a sweet lesson. Thank you, just subscribed.

  • @nirvanacore5543
    @nirvanacore5543 3 года назад +1

    it was amazing to learn, i was looking for it thanks for sharing

  • @trustarMello
    @trustarMello 2 года назад +2

    I like Google Translator because your pronunciation is comfortable. So it gives me good information. One suggestion is, why don't we use a subtitle system for clear translation? 😀 Thank you for creating a good channel.

  • @jacksparr0w300
    @jacksparr0w300 Год назад +5

    Interesting, what are the benefits of moving to split the item and list render like that? I'll read more on this online but curious if someone could point me in a direction..
    After finishing the video, seems it benefits when placed in a component library or shared. Very cool.

  • @anders8638
    @anders8638 3 года назад +1

    Thank you for making this, helped my understanding a lot! ;)

  • @michaelangelosilva1337
    @michaelangelosilva1337 2 года назад +1

    I’m new to your channel!
    This was awesome! Well Done!
    Btw i really like your micro frontend videos 👍

  • @zathkal4004
    @zathkal4004 3 года назад +3

    Hats off Jack... thank you sir (:

  • @matthewzecchini9951
    @matthewzecchini9951 3 года назад +1

    I've been waiting for this one thanks

  • @OSCAR-CH
    @OSCAR-CH 3 года назад +1

    Just incredible. I love your videos.

  • @reinaogo7161
    @reinaogo7161 3 года назад +1

    Thank you for sharing this amazing content for free^^ LOVE IT

  • @johnddonnet5151
    @johnddonnet5151 2 года назад +1

    This channel is too good

  • @DedicatedManagers
    @DedicatedManagers 3 года назад +1

    Loving all the typescript!

  • @yusuphh.kajabukama4029
    @yusuphh.kajabukama4029 3 года назад +1

    Thanks for the content, I liked your vscode theme!

  • @dmcshehan
    @dmcshehan Год назад

    Thanks a lot for the video, pretty much understood all the concepts you explained.

  • @mauriciolucero7296
    @mauriciolucero7296 3 года назад +1

    Awesome video Jack, very useful. Subbed :D

  • @jackcb
    @jackcb 3 года назад +1

    thanks for the video Jack!

  • @viveksharmapoudel1657
    @viveksharmapoudel1657 3 года назад +1

    yours videos are seriously underrated...

  • @ryank9719
    @ryank9719 2 года назад +1

    Great content as always. Keep it up

  • @shivms8728
    @shivms8728 Год назад +2

    Really Great!!!!

  • @tolulopemalomo8922
    @tolulopemalomo8922 2 года назад +1

    Really valuable. Thank you.

  • @youtekdev8131
    @youtekdev8131 3 года назад +1

    Better than a text book.

  • @rafael86ny
    @rafael86ny Год назад

    Thank you, Sir, I have now seen a few of your videos, they are very informative.

  • @alinazar7998
    @alinazar7998 3 года назад +1

    Sir this is really great content! Keep it up!

  • @martingalli3553
    @martingalli3553 2 года назад +1

    Hi Jack, can you share your VS Code configuration?

  • @ft12341
    @ft12341 Год назад +1

    Subbed! Love this video so much, looking forward to more ts/react videos from you. May I ask if there is a repo for this video?

  • @anvarsaidov8964
    @anvarsaidov8964 2 года назад +2

    Thank you Jack, by the way, you'll make a great candidate for US presidency. You remind me one of them. You have a great personality and necessary problem solving skills as a programmer.

  • @sumanth3036
    @sumanth3036 2 года назад +1

    @00:43 wo wooo whats happening with my browser!!

  • @HashtagObi
    @HashtagObi 3 года назад +1

    learnt so much thank you!

  • @asgharibraheem8938
    @asgharibraheem8938 3 года назад +1

    Explained very well

  • @ragnarlothbrook8117
    @ragnarlothbrook8117 3 года назад +1

    Excellent video. I like your style and pace. Sub.

  • @nekoresOfficial
    @nekoresOfficial Год назад +1

    Khooool. Thank you

  • @Filipmalek1
    @Filipmalek1 2 года назад +1

    Thanks for the great video!

  • @varshasharma7397
    @varshasharma7397 3 года назад +1

    Hi Jack!
    Great Content!!!! Please make video for Google map react along with typescript.
    Thanks

  • @v.florio
    @v.florio 3 года назад +3

    Excellent teaching skills. Now I feel like I can upgrade my obsolete Class Based JSX react code

    • @calebcadainoo
      @calebcadainoo 3 года назад +1

      Functional component is the ish 😉

  • @SwiftySanders
    @SwiftySanders 3 года назад +1

    Good video! Thanks for sharing it.

  • @sumitwadhwa8823
    @sumitwadhwa8823 2 года назад +1

    Hi Jack, can you please cover HOC in React and Typescript. Great videos. Thanks.

  • @satyamktr
    @satyamktr 3 года назад +1

    Hello sir, I think the GitHub repo link is wrong....I can't find the code you have shown here. Can you please verify and update the link?

  • @parubok
    @parubok Месяц назад +1

    Thanks!

  • @Chrosam
    @Chrosam 3 года назад +1

    This is great, thanks!

  • @rileydavidjesus
    @rileydavidjesus 3 года назад +1

    Looks cold.

  • @josephwong2832
    @josephwong2832 3 года назад +1

    undefiiiined !! :)

  • @william3588
    @william3588 3 года назад +1

    Great! Keep em coming

  • @sundeeppeethala312
    @sundeeppeethala312 3 года назад +3

    Hi Do you Have any Course on React with Typescript???
    As Typescript is growing more and more day by day, Each and every Company Asking REACT with Typescript Combination..
    Can you please Release and End to end Course on React, Redux with Typescript please..

  • @joelwembo
    @joelwembo 3 года назад +1

    Very Nice tutorial

  • @bythealphabet
    @bythealphabet 2 года назад +1

    Thank you, Jack, I appreciate your Videos.
    very nice, I'm making the transition to TS,
    b💩😎

  • @amershboul9107
    @amershboul9107 2 года назад +1

    Excellent content and attractive introduction, keep going man ❤

  • @daviddrahllensa4165
    @daviddrahllensa4165 2 года назад +1

    thanks

  • @danielkeefer1901
    @danielkeefer1901 2 года назад +2

    Hey Jack, I know you can define a useState like useState() and that will infer what are the differences between null and undefined?

    • @jherr
      @jherr  2 года назад +3

      That's a great question. Undefined in this case means "I didn't give you a value of any kind". Where null would mean; "I gave you a value, a value that was the no-value value." So in this useState case it's a choice between the number, and there not yet being any value at all.

  • @valentina711
    @valentina711 3 года назад +2

    that was literally to "jump in" 😄

  • @marlonrtt
    @marlonrtt 3 года назад +3

    Chichi?

  • @PSAGrader
    @PSAGrader 2 года назад +1

    Jack -- I noticed that your code editor is automatically linting in the terminal pane as you type. Is that a default of your editor or something you setup? Great video btw!

    • @jherr
      @jherr  2 года назад +1

      I use Fig in the Terminal, and thanks for the compliment!

  • @pranjalwalia3810
    @pranjalwalia3810 3 года назад +1

    Great content 👍👍...using context with reducers in typescript...maybe a topic for the future ?

    • @jherr
      @jherr  3 года назад +2

      I'll do that next since I think Typescript around React was a big missing piece of content for me.

    • @thehaptiK
      @thehaptiK 3 года назад +1

      @@jherr i'd personally love to see a series of typescript/react subtopics like this. context/redux/graphql etc... all whilst using typescript. might really help people like myself transitioning from javascript to typescript in their create-react-app/lications . cheers.

  • @thepetesmith
    @thepetesmith Год назад +1

    React.FC no longer has the problem of implicit children this vid should be updated. FC is kosher now.

  • @iqwebserve3973
    @iqwebserve3973 Год назад

    Great video... was not cold outside for short sleeves? LOL Thanks

  • @AlRaelle
    @AlRaelle Год назад +3

    Hi, what font style and vscode theme are you using in this video? the colors are appealing to the eyes and the fonts are easier to read than the default ones.

  • @DedicatedManagers
    @DedicatedManagers 3 года назад +1

    I believe that usually when you consume a function of generic type (not sure if I’m saying that right) you need to specify the type. At 20:57 when you consume The component that is of generic type you discuss how list item is of type string. Is the type on the List component inferred?

    • @jherr
      @jherr  3 года назад

      It's inferred from the type on the array you are passing in. So it's totally transparent to the end user of your component. You give it a list of strings, and your render function then takes a string. etc. etc.

  • @noramensah6638
    @noramensah6638 2 года назад

    Thanks for the tutorial. It was enlightening and I love your vscode theme too!! Care to share?

  • @rachel2518
    @rachel2518 3 года назад +1

    thank you for this video! What VS code extensions did you use in this video?

    • @jherr
      @jherr  3 года назад +1

      Just the TypeScript Extension Pack - marketplace.visualstudio.com/items?itemName=loiane.ts-extension-pack