Converting JSX to TSX in React

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

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

  • @safwanmohamed9135
    @safwanmohamed9135 9 месяцев назад +10

    I did not ever search about this topic before, but today, I was thinking of converting to tsx, and when I opened youtube, I found it on the top without searching😂

  • @kaluczadzsi
    @kaluczadzsi 9 месяцев назад +5

    You are the best react instructor sir!
    You always ships the quality to us.
    Love from Budapest

  • @ayberk272
    @ayberk272 9 месяцев назад +1

    It was a great video especially for people like me who are junior devs planning to start learning typescript. Thank you!

  • @wakandagaming5763
    @wakandagaming5763 9 месяцев назад +1

    Oh my gosh this is so good I need more episodes please make them.

  • @Makłowiczwpodróży-q6l
    @Makłowiczwpodróży-q6l 7 месяцев назад

    It's kind of beginner+ tutorial, but can save like an hour or so. Well made, thanks!

  • @jayakumar9976
    @jayakumar9976 9 месяцев назад +1

    Nice explanation and straight to the point.

  • @giahuyha6189
    @giahuyha6189 9 месяцев назад +1

    I suggest some videos about handling different kinds of errors in react and ts

  • @ParkerKhaw
    @ParkerKhaw 9 месяцев назад

    Great tutorial! Need second episode! Maybe the topics can be: passing the props/states to another component, etc

  • @yutsacarm8021
    @yutsacarm8021 9 месяцев назад

    woah we really need this kind of rare content

  • @Pareshbpatel
    @Pareshbpatel 5 месяцев назад

    Converting JSX to TSX in React, so clearly explained. Thank you, Darius
    {2024-06-21}

  • @raviel_0422
    @raviel_0422 7 месяцев назад

    Thank you so much. Very helpful for me right now because I'm converting my e-commerce project react app into typescript.

  • @becharaalhosri6471
    @becharaalhosri6471 9 месяцев назад

    This was great, I hope you can a part 2 where you go into more details about using typescript with react

  • @prashlovessamosa
    @prashlovessamosa 9 месяцев назад

    Your Quality of presentation increasing day by day.

    • @cosdensolutions
      @cosdensolutions  9 месяцев назад +1

      Thank you for saying that! I'm really working on it ☺️

  • @crazyyMeee
    @crazyyMeee 9 месяцев назад +1

    please make full tutorial on Zod. And other similar libraries too

  • @ooorayooonyoooo
    @ooorayooonyoooo 9 месяцев назад

    One of the most interesting topics i waited for, i really wanted to know what are the main section of a jsx file that is good if to be written with types and what are less important as typescript will auto deduce it.
    Thanks and keep going 💕.

  • @cescfabregas0004
    @cescfabregas0004 9 месяцев назад +1

    out of sudden i realise you look alike Mauricio Pochetino 😅

  • @OtepArc
    @OtepArc 8 месяцев назад

    can you have a video about typescript. thanks

  • @coreanoquant
    @coreanoquant 9 месяцев назад

    Is it normal to define types in the same file? Or do people define all the types separate files and import the props?
    Great video!

    • @cosdensolutions
      @cosdensolutions  9 месяцев назад

      Most types are defined in the same file! Only types of shared things are outside

  • @davronmaxmudov3972
    @davronmaxmudov3972 9 месяцев назад +1

    #IdeasForContent. Can You make tutorials on the following topics please) : GraphQL, Socket io

  • @mettle_x
    @mettle_x 9 месяцев назад

    5:50 I think, it's not a good idea to explicitly write the return-type of fetch() without proper json-schema validation. Inferring types from something like Zod after validating will ensure better type-safety.

  • @uzairahmed2975
    @uzairahmed2975 9 месяцев назад

    What is the difference between interface Props and type props??

    • @cosdensolutions
      @cosdensolutions  9 месяцев назад

      Not much, both can be used!

    • @uzairahmed2975
      @uzairahmed2975 9 месяцев назад

      @@cosdensolutions ahh I see thanks for response ❤️

  • @myke6972
    @myke6972 9 месяцев назад

    this is what i need

  • @policeislam2846
    @policeislam2846 9 месяцев назад

    Hello thanx for video first , Second i want to ask you if i learn nodejs in 2024 so i can fined a job with it ?

  • @asdflkjasdfasdlfkj
    @asdflkjasdfasdlfkj 2 месяца назад

    ❤❤❤

  • @programmingintrouble
    @programmingintrouble 9 месяцев назад

    🌅

  • @alihussain-ch7jb
    @alihussain-ch7jb Месяц назад

    You are great ❤❤❤❤
    Egyptians loves you ❤❤❤❤

  • @highland5729
    @highland5729 9 месяцев назад +1

    This might be unpopular opinion and personal preference.
    I understand the purpose of Typescript was created. But I also understand purpose of Javascript was invented.
    Javascript created to help human to programming easily. Easy to read, universal, simplicity, and versatile.
    Because we are not a computer. So, it's not human level to make a type checking, make it looks complicated. When we put a variable, we are as a human already know which one a string, number, or boolean without unnecessary things to describe.
    Let computer does (low levels). It's not Javascript does. And it doesn't mean Typescript comes in to solve those issues.
    When other thing comes to simplifies an issue (ex: Redux to React-Query), Typescript was the opposite.
    Typescript just makes programming more complicated. Also makes the syntax looks ugly.

    • @ivalar8891
      @ivalar8891 9 месяцев назад

      "Javascript created to help human to programming easily" something simple. Good luck to maintain a project with hundreds of different types without types.
      "When we put a variable, we are as a human already know which one a string, number, or boolean without unnecessary things to describe. " But sometimes you open 20 different files, trying to figure out what properties/types do you have in this complex object with 200 properties instead of simple mouse hover with TS.

  • @techtaley
    @techtaley 3 месяца назад

    Thank you for a great summary - it's a skill set I need to finally love and embrace. Tried to get around it but it's not working .