Walkthrough: React Hooks Basics with TypeScript

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

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

  • @covalence-io
    @covalence-io  Год назад

    If you liked this video, we've got a lot more where this came from! We teach people Full Stack Web Development with our premium courses and friendly developer community. You can access it all with our Community Membership. We'd love to have you join us: covalence.io/membership

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

    That was a really clear explanation of Typescript with React with easier to read code compared to other examples. Good stuff. Like the beastie Boys implementation as well..lol

  • @slyder25400
    @slyder25400 5 лет назад +18

    SFC is actually deprecated, use FC instead

    • @DarrylHebbes
      @DarrylHebbes 4 года назад +1

      sidux at time of recording it was still ok

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

      Hi, New to React-TS tandem, thanks for that info. Can you still provide other old ways of using React-Typescript and the new way. Anyone who reads can reply! thanks in advance!

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

      @@DarrylHebbes I was gonna say the samething , But it's good someone mentioned it, for others to see, regardless of recording time. this is still worth mentioning.

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

    Damn this was great!

  • @Sullifly
    @Sullifly 4 года назад +2

    Hey man this demo is great, you're an exceptionally clear and skilled coder. Thank you! Question: Why do you use `let` in your getAlbums function rather than `const`? If I'm not mistaken they're both scoped identically in this instance, but const provides more runtime safety (technically, of course nothing is going to happen in this example)

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

    Oh really cool man

  • @juancamiloq1
    @juancamiloq1 5 лет назад

    Just find your channel. Awesome content bro thanks! Keep it up.

  • @thearturo1909
    @thearturo1909 4 года назад

    Thanks a lot men, your video helped a lot. 🤖

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

    @Covalence everything is very clear thanks for the video. In this example the structure of the object in your json it's easy, what about if it's very complex?

  • @robertshawnmitchell
    @robertshawnmitchell 5 лет назад +5

    Maybe use ?

    • @covalence-io
      @covalence-io  5 лет назад +2

      Let's go!! It's what I write normally! A lot of our students come through just learning JS/TS/strongly typed languages so I wanna' teach them why they can get away with that. Like why we use the shortcuts we do ;)

  • @MrAndykofi
    @MrAndykofi 4 года назад +1

    Nice tutorial, but you did not say a things about the server. Where are you fetching the albums from?

  • @alvaro1337
    @alvaro1337 4 года назад

    Thank you!

  • @4xxNotFound
    @4xxNotFound 4 года назад

    man thank you!!!

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

    Nice tutorial but i would split presentation and container components.

  • @raj.blazers
    @raj.blazers 3 года назад

    How to call a function returning jsx(tsx) element within return function in typescript?

    • @raj.blazers
      @raj.blazers 3 года назад

      Since my jsx code inside return function of main react functional component is huge, I am splitting the jsx code into small utility functions returning jsx, but i am not straightforwardly call that utility function. Typescript just complains

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

    Bro! My ESlint always complain about the missing deps.

  • @user-wz1tn7fn4s
    @user-wz1tn7fn4s 4 года назад

    Hi!) Good video thanks!
    Why did you stop making new content?)

  • @akinwaleadegboyega3312
    @akinwaleadegboyega3312 4 года назад

    Where can we find the code. Thanks in advance

  • @KunglawAdy
    @KunglawAdy 4 года назад

    well....hello there...

  • @Chrosam
    @Chrosam 4 года назад

    05:49 too much excitement for an overtly simple example imo