Converting JSX to TSX in React

  Рет қаралды 14,507

Cosden Solutions

Cosden Solutions

Күн бұрын

Пікірлер: 38
@safwanmohamed9135
@safwanmohamed9135 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😂
@sadique_x_
@sadique_x_ 10 ай бұрын
real wai
@kaluczadzsi
@kaluczadzsi 10 ай бұрын
You are the best react instructor sir! You always ships the quality to us. Love from Budapest
@ayberk272
@ayberk272 10 ай бұрын
It was a great video especially for people like me who are junior devs planning to start learning typescript. Thank you!
@wakandagaming5763
@wakandagaming5763 10 ай бұрын
Oh my gosh this is so good I need more episodes please make them.
@Makłowiczwpodróży-q6l
@Makłowiczwpodróży-q6l 8 ай бұрын
It's kind of beginner+ tutorial, but can save like an hour or so. Well made, thanks!
@jayakumar9976
@jayakumar9976 10 ай бұрын
Nice explanation and straight to the point.
@yutsacarm8021
@yutsacarm8021 10 ай бұрын
woah we really need this kind of rare content
@becharaalhosri6471
@becharaalhosri6471 10 ай бұрын
This was great, I hope you can a part 2 where you go into more details about using typescript with react
@raviel_0422
@raviel_0422 8 ай бұрын
Thank you so much. Very helpful for me right now because I'm converting my e-commerce project react app into typescript.
@prashlovessamosa
@prashlovessamosa 10 ай бұрын
Your Quality of presentation increasing day by day.
@cosdensolutions
@cosdensolutions 10 ай бұрын
Thank you for saying that! I'm really working on it ☺️
@ooorayooonyoooo
@ooorayooonyoooo 10 ай бұрын
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 💕.
@ParkerKhaw
@ParkerKhaw 10 ай бұрын
Great tutorial! Need second episode! Maybe the topics can be: passing the props/states to another component, etc
@Pareshbpatel
@Pareshbpatel 6 ай бұрын
Converting JSX to TSX in React, so clearly explained. Thank you, Darius {2024-06-21}
@giahuyha6189
@giahuyha6189 10 ай бұрын
I suggest some videos about handling different kinds of errors in react and ts
@myke6972
@myke6972 10 ай бұрын
this is what i need
@crazyyMeee
@crazyyMeee 10 ай бұрын
please make full tutorial on Zod. And other similar libraries too
@asdflkjasdfasdlfkj
@asdflkjasdfasdlfkj 3 ай бұрын
❤❤❤
@alihussain-ch7jb
@alihussain-ch7jb 2 ай бұрын
You are great ❤❤❤❤ Egyptians loves you ❤❤❤❤
@mettle_x
@mettle_x 10 ай бұрын
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.
@coreanoquant
@coreanoquant 10 ай бұрын
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 10 ай бұрын
Most types are defined in the same file! Only types of shared things are outside
@OtepArc
@OtepArc 8 ай бұрын
can you have a video about typescript. thanks
@cescfabregas0004
@cescfabregas0004 10 ай бұрын
out of sudden i realise you look alike Mauricio Pochetino 😅
@davronmaxmudov3972
@davronmaxmudov3972 10 ай бұрын
#IdeasForContent. Can You make tutorials on the following topics please) : GraphQL, Socket io
@CoderSV3
@CoderSV3 23 күн бұрын
What version of TSX is this on?
@policeislam2846
@policeislam2846 10 ай бұрын
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 ?
@programmingintrouble
@programmingintrouble 10 ай бұрын
🌅
@uzairahmed2975
@uzairahmed2975 10 ай бұрын
What is the difference between interface Props and type props??
@cosdensolutions
@cosdensolutions 10 ай бұрын
Not much, both can be used!
@uzairahmed2975
@uzairahmed2975 10 ай бұрын
@@cosdensolutions ahh I see thanks for response ❤️
@highland5729
@highland5729 10 ай бұрын
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 10 ай бұрын
"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 4 ай бұрын
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 .
You Are Using useEffect Wrong
14:40
Cosden Solutions
Рет қаралды 37 М.
Why Did They Do This?! (Code Review)
18:48
Cosden Solutions
Рет қаралды 15 М.
Andro, ELMAN, TONI, MONA - Зари (Official Music Video)
2:50
RAAVA MUSIC
Рет қаралды 2 МЛН
Andro, ELMAN, TONI, MONA - Зари (Official Audio)
2:53
RAAVA MUSIC
Рет қаралды 8 МЛН
Solid.js Just Got WAY Better
13:11
Theo - t3․gg
Рет қаралды 86 М.
Design patterns in React
14:37
Cosden Solutions
Рет қаралды 180 М.
React 19 updates explained in 5 minutes
5:30
Vanyo Ivanov
Рет қаралды 111
Every React Concept Explained in 12 Minutes
11:53
Code Bootcamp
Рет қаралды 865 М.
Refactoring a React component - Design Patterns
15:19
Cosden Solutions
Рет қаралды 101 М.
Become a Master at Reusable Components in React
19:51
Cosden Solutions
Рет қаралды 20 М.
Modern Data Fetching in React (Complete Guide)
16:41
Cosden Solutions
Рет қаралды 74 М.
Learn TypeScript Generics In 13 Minutes
12:52
Web Dev Simplified
Рет қаралды 292 М.
The Best Pattern for Conditional Hooks in React
13:34
Cosden Solutions
Рет қаралды 26 М.
Andro, ELMAN, TONI, MONA - Зари (Official Music Video)
2:50
RAAVA MUSIC
Рет қаралды 2 МЛН