Why you SHOULD be using TypeScript with React

  Рет қаралды 26,084

PedroTech

PedroTech

Күн бұрын

Пікірлер: 119
@antoniobasilio319
@antoniobasilio319 2 жыл бұрын
You have the channel that helps me the most BY FAR. Thank you so much for your videos! Congratz!
@tegaogheneovo5881
@tegaogheneovo5881 2 жыл бұрын
pedro my backend sensei
@rafaelbrundebrun
@rafaelbrundebrun 2 жыл бұрын
Valeu Pedro. Sempre venho aprender no seu canal, e vc sempre trás conteúdos realmente importantes pra quem está aprendendo
@skl949
@skl949 2 жыл бұрын
bro i love your videos i like every single one! keep doing this i know you will be the next web dev simplified
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
I love WDS videos, that would be awesome lmaoo Thank you!
@songokussj4cz
@songokussj4cz 2 жыл бұрын
@@PedroTechnologies You're much more helpful than WDS :-) Better examples, you explain edge cases, multiple possibilities, etc... Much better :-)
@ramasabajo5360
@ramasabajo5360 Жыл бұрын
Thanx for convincing me to start learning Typescript to use with my React apps. I don't like the boilerplate code, but the effort all makes sense to me now.
@danielkamau8436
@danielkamau8436 2 жыл бұрын
Nice work Pedro. I love the teaching you give me. With your face on is nice, this makes you feel connected to your niche, also I think in away it cements concentration of the people watching and following.
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
Next video has my face on again :)
@danielkamau8436
@danielkamau8436 2 жыл бұрын
@@PedroTechnologies yeah sure, am your student and I can confirm that.(your bro from Kenya, come and code one day from here, I will cater for all bills, I learn a lot from you)
@k303k
@k303k Жыл бұрын
You convinced me to learn TypeScript deeeply .Thanks a lot Pedro
@Trzimajewski
@Trzimajewski 2 жыл бұрын
IMO with the camera the videos just have a different approach, and I loved it, man, keep up the good work
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
Thank you! I've been saving money to buy this camera and I finally did it :)
@Hacking-NASSA-with-HTML
@Hacking-NASSA-with-HTML 2 жыл бұрын
Amazing awesome so cool 😎 content 👍♥️
@iUmerFarooq
@iUmerFarooq 2 жыл бұрын
Wow Man, you look cool. Very helpful tutorial Pedro. Want to see more on React + TypeScirpt. Great effort ;)
@nilankoor
@nilankoor 2 жыл бұрын
Great video as always. And yeah, love the camera setup. Keep making more videos with the facecam.
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
Thank you!!!
@nilankoor
@nilankoor 2 жыл бұрын
Looking forward to more TypeScript videos as I want to start learning TS.
@asaventurasderobson
@asaventurasderobson 2 жыл бұрын
Great. I have been struggling with some of this concepts.
@elvissam1401
@elvissam1401 2 жыл бұрын
:D keep up the good content Pedro, blessing for you!
@primetime645
@primetime645 2 жыл бұрын
I always hated Typescript because I never knew about Interfaces. This was pretty helpful to say the least.
@asaventurasderobson
@asaventurasderobson 2 жыл бұрын
I have that problem, except the first project I took was full of that, so I manage to learn quickly. But I still struggle with Typescript sometimes. Is like struggling with JavaScript, except double the complexity, but half the code 😂😂😂
@universecode1101
@universecode1101 2 жыл бұрын
Yeah I see Typescript everywhere and it’s very important to learn it
@butterfly7562
@butterfly7562 2 жыл бұрын
Universe Code, you're important, too. I see you on all the programming channels 😀
@universecode1101
@universecode1101 2 жыл бұрын
@@butterfly7562 Thanks ... I try to keep up to date by looking at what my colleagues are proposing. Pedro is very good
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
I see you everywhere too hahahaha thank you for the support!
@hardwired66
@hardwired66 2 жыл бұрын
Yeaaa react typescript tutorial 😍
@gorkavillar8568
@gorkavillar8568 2 жыл бұрын
Great video Pedro, thanks! I personally can't imagine a project without Typescript, especially if you're working solo 🙌🏼
@omarandresramirezrodriguez1640
@omarandresramirezrodriguez1640 2 жыл бұрын
could you make a project using typescript in backend and frontend? ...it'd be great...thanks for your videos
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
Yes!
@Trzimajewski
@Trzimajewski 2 жыл бұрын
@@PedroTechnologies I'd like to see some Next + Prisma stuff (full stack, sure)
@yuxianxu806
@yuxianxu806 2 жыл бұрын
@@Trzimajewski RedwoodJS integrates you mentioned.
@pb8655
@pb8655 2 жыл бұрын
Any change you can make an advanced typescript video. The basics are easy to grasp but. I see syntax like “function all the time and I don’t get the angle brackets at all.
@norejudeisa
@norejudeisa 2 жыл бұрын
I think that's generic type, I do dart and I think it's similar to typescript type system
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
There aren't a lot of advanced typescript. I can make a full typescript tutorial for sure, but there aren't a lot to learn if u already know js
@pb8655
@pb8655 2 жыл бұрын
@@PedroTechnologies maybe a small project with react-typescript-redux? i know its a weirdly specific request but I was watching one of the react/redux authors do a code along kzbin.info/www/bejne/b6vchJiGatt7b8U and there are alot of built in types and hooks that i don't quite understand
@pb8655
@pb8655 2 жыл бұрын
@@norejudeisa yea you're right!
@AstraSlade
@AstraSlade 2 жыл бұрын
Nice vídeo pedrin, salve do Brasil sempre acompanho teus vídeos :))
@eliuddyn
@eliuddyn 2 жыл бұрын
Great content Brother 🔥🔥
@tesla1772
@tesla1772 2 жыл бұрын
Can you plz create an series of complete react typescript project including state management and all
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
I will :)
@longnhat6405
@longnhat6405 2 жыл бұрын
very well deliveried video
@bongkotsaelo4239
@bongkotsaelo4239 2 жыл бұрын
Thanks, you say it out very clear. The code more looks like java, which is messy. After watching this video, I think I'm in!
@being_wishmaster
@being_wishmaster 2 жыл бұрын
You are super bro... keep it up 💯
@faizanahmed9304
@faizanahmed9304 2 жыл бұрын
Thank you Pedro
@RogerThat902
@RogerThat902 2 жыл бұрын
Very good explanation
@mabrarhassan
@mabrarhassan Жыл бұрын
Appreciate it. Pretty cool and useful lesson.
@shinigamiryuk786
@shinigamiryuk786 2 жыл бұрын
Great video😊
@mahinchowdhury3995
@mahinchowdhury3995 2 жыл бұрын
Good stuff.
@learnmakeit9315
@learnmakeit9315 2 жыл бұрын
Thanks! I must learn typescript
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
You can do it!
@TheDorac1
@TheDorac1 2 жыл бұрын
I like typescript but when using some 3rd party npm packages, some aren't typescript ready, causing issues and I can't find a way to bypass it.
@waleedsharif618
@waleedsharif618 2 жыл бұрын
This !
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
I understand your point, and it makes sense for a personal project or anything that won't be used by other people. But you shouldn't be using a 3rd party npm package if they don't support typescript in my opinion
@LoneWolf-ll8kb
@LoneWolf-ll8kb 2 жыл бұрын
@@PedroTechnologies perhaps this should be in the title
@MOHAMED-AMINE-CHEKROUNI
@MOHAMED-AMINE-CHEKROUNI 2 жыл бұрын
I learn a lot from you, Thanks
@SkyrimBeast
@SkyrimBeast 2 жыл бұрын
Why I SHOULD be using TypeScript with React? Because Pedro told me so and that's good enough for me
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
❤️
@vantung2210
@vantung2210 2 жыл бұрын
Thanks for your video
@randerins
@randerins 2 жыл бұрын
"cuntry" cracked me up 😅
@feeltrig8822
@feeltrig8822 2 жыл бұрын
could you make a video on using formik yup for form validation with checkboxes, radio buttons cause there aren't much good videos on it and most of react forms aren't having those fields.
@tegaogheneovo5881
@tegaogheneovo5881 2 жыл бұрын
hey pidro , gang gang you look diffy, sensei
@kevinolive
@kevinolive Жыл бұрын
well, you've convinced me to learn TypeScript. Fits better with the languages I know better than JavaScript.
@adityaj21
@adityaj21 2 жыл бұрын
awesome video
@alasassi960
@alasassi960 2 жыл бұрын
can you make video what should you know before getting a first job with no experience thanks
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
Yes!
@mirkosedda3196
@mirkosedda3196 2 жыл бұрын
U can use the ? yourself in react when accessing object and the app will not break if one of the values is null 😊
@NicoRTM
@NicoRTM 2 жыл бұрын
Yup, and Typescript will remind you to use it when a value can be null
@thalia.c
@thalia.c 2 жыл бұрын
brabo demais 🔥
@orarbel167
@orarbel167 2 жыл бұрын
does it matter if the file extention is .ts or .tsx ? and thank you for the great video
@chirilcugureanu1853
@chirilcugureanu1853 2 жыл бұрын
Nah, it's mainly just a personal preference
@blackbones425
@blackbones425 2 жыл бұрын
.ts => pure typescript. .tsx => file with JSX
@malamhari_
@malamhari_ 2 жыл бұрын
If you use JSX in .ts files TypeScript will yell at you
@stackoverflowlurker3057
@stackoverflowlurker3057 2 жыл бұрын
Which color theme are you using? Also, what is the difference between type and interface? Been googling for a while and can't find the answer :(
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
I think my color theme is electron but im not sure cause im not with my computer rn hahaha Types and interfaces are very similar nowadays since you can describe an object with a type. I generally use types when i want to describe a single variable that cab have two different types, for example: type Age = number | string; Interfaces are better for describing objects!
@antonyefanov
@antonyefanov 2 жыл бұрын
amazing video
@westernpigeon
@westernpigeon 2 жыл бұрын
i know i’m late to the vid, but i would love if you could make a video on how to use the Stripe API
@ArisAris-fs1ip
@ArisAris-fs1ip 2 жыл бұрын
Good afternoon, Please give me your help! S O S So im starting my pizza restaurant website for my portfolio, with full e-commerce features. The question is this: The owners admin dashboard, where he receives the food orders and editing , putting or delete products, and the customer's interface, where he enters and orders food, send order and pay.
@The_Awakened_Hybrid
@The_Awakened_Hybrid 2 жыл бұрын
AWESOME tutorial! Obrigado bro!
@aditithakur1862
@aditithakur1862 Жыл бұрын
I have learned React with Javascript and all it’s functionality with core JS. Will it be difficult to now switch it to Typescript? And what in general changes in React with TS compared to React with JS
@PanosPitsi
@PanosPitsi Жыл бұрын
its the same but with types it actually makes you way faster
@4444-c4s
@4444-c4s Жыл бұрын
8:45 imp pt.
@ajitshaw1936
@ajitshaw1936 2 жыл бұрын
Bro Can you make a video on Middleware with redux js. Keep Up the good Work 😍
@victorvondoom2350
@victorvondoom2350 2 жыл бұрын
so are you saying never to use pure javascript with reactjs ?!
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
I do hahaha but only in my videos because it makes sense cause not everyone knows ts. But no matter what i decide to build outside of youtube projects, i will always use typescript!
@redaelouahabi731
@redaelouahabi731 2 жыл бұрын
the safety option (?.) exists also in JS 😉 thanks 4 the video
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
Glad you liked it! Yeah, i meant more that with typescript it will let you know if you need ?. in a possibly null object when in JS it doesn't
@johnadepelumi93
@johnadepelumi93 2 жыл бұрын
Nice camera Pedro. Would love to connect with you on Twitter if you don't mind. Great tutorials, I've learned a lot from the tips you share from time to time.
@codefingers8957
@codefingers8957 2 жыл бұрын
i am your 647th view 92nd like and 17th comment =)
@love_hunter_coc
@love_hunter_coc 2 жыл бұрын
Nice ty u
@dylangonzales
@dylangonzales 2 жыл бұрын
Why you DON’T NEED typescript: kzbin.info/www/bejne/h4fOgXaYbLKXq7s
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
This video was an april fools joke lmaoo
@Pareshbpatel
@Pareshbpatel 2 жыл бұрын
A great video that introduces us to using Typescript with React. Thanks, Pedro {2022-11-13}
@faisalamin001
@faisalamin001 2 жыл бұрын
Please start NEXT.js or Backend Thanks a lot 🙌
@Randomguy48279xyz
@Randomguy48279xyz 2 жыл бұрын
👍
@slingyy
@slingyy 2 жыл бұрын
que canal bom 🤠
@friendlyapk
@friendlyapk 2 жыл бұрын
You look nice today handsome guy!
@fabianofrank4785
@fabianofrank4785 2 жыл бұрын
Are you Brazilian?
@munashe_dev
@munashe_dev 2 жыл бұрын
Typescript fronted , golang backend === 🚨
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
That's what I use at my job, it works really well!
@markopolo2224
@markopolo2224 2 жыл бұрын
you look like sennyk4
@kabagambedaniel2468
@kabagambedaniel2468 2 жыл бұрын
let me learn typescript
@BlobBlobkins
@BlobBlobkins 2 жыл бұрын
If you need typescript with React, then you are coding wrong. There are porpTypes and other tools out of the box.
@sc0or
@sc0or 2 жыл бұрын
This is not absolutely necessary. I type fast enough and do not need in additional training. Data must be simple. Simple data does not need types. When you start to create monstrous generics, you can throw your code in a trash can away. I mean it. React means strings, numbers and handlers (with strings and numbers) in parameters. All other more complex things must be incapsulated in your code, and to create types for them just for yourself looks like a "mental disordering" -) PS When you pass objects, that means a not enough decomposition.
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
React also means objects and complex data types. How are you going to create an application without guaranteeing that ur handling ur data correctly? I get your point, but I feel like we always think we are able to perfectly write typesafe code when in reality it doesn't matter how long we have been coding for cause we will make mistakes. Using typescript in my opinion is being respectful towards your users and recognizing that not everyone is perfect. I love this debate hahaha thank you for giving ur opinion on this! I plan on making more opinionated videos like this cause it helps us all learn from each other, even if we disagree :)
@sc0or
@sc0or 2 жыл бұрын
@@PedroTechnologies I used to use f... Angular for 5 years, then TS/React for 3 years on a big project, and then - 3 years of a pure JS/React on 4 about simultaneous projects. There was no a day I regretted. I breath now. Team sizes are about the same. May be because we don't use redux anymore... =)
@AlesaGillespie
@AlesaGillespie 2 жыл бұрын
TypeScript meio que vai ser o padrão futuramente. Mas eu não vejo, sinceramente, motivo pra isso existir. Primeiro que, eu escolhi estudar uma linguagem não estatica e agora o mercado quer enfiar esta bosta de tipagem em um conceito que, de inicio, era pra ser ''dynamically typed". Mó chato ficar declarando interfaces. Só complicam a vida no frontend com essas pohas. Sou a favor do exterminio do TypeScript e o PyScript.
@Pareshbpatel
@Pareshbpatel Жыл бұрын
{2023-04-13}
@КлиментийКараваев-у8з
@КлиментийКараваев-у8з 2 жыл бұрын
Fuck TypeScript all my homies use Test Driven Development
@alexdefaro
@alexdefaro 2 жыл бұрын
Nah... Still not convinced brother 😁
@anselmoribeiro8138
@anselmoribeiro8138 2 жыл бұрын
In my opinion Typescript apps needs to much work. So it sucks
@Jakub-Putaj
@Jakub-Putaj 2 жыл бұрын
so basicly it deepends on project, i'm honestly thinks that force to use typescript in every project is not the best way to create apps because not every app need to have typescript
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
It takes a lot of work in the beginning, but when you get good at it you will write everything super fast. The benefit outweighs the cost for sure!
@Jakub-Putaj
@Jakub-Putaj 2 жыл бұрын
@@PedroTechnologies i understand but for the projects like landing Pages with animation lib typescript is not a necessary tool
@anselmoribeiro8138
@anselmoribeiro8138 2 жыл бұрын
@@PedroTechnologies Thanks for your effort and I think you should continue to publish videos like this. I don't like typescript, but maybe I'll change my mind in the near fututre.
@mohamedshames2432
@mohamedshames2432 2 жыл бұрын
شكرا يحب
@MohammedAlziko
@MohammedAlziko 10 ай бұрын
😘😘😘😘
@alasassi960
@alasassi960 2 жыл бұрын
can you make video what should you know before getting a first job with no experience thanks
ReactJS Course [13] - Typescript | React Type Safety
27:17
PedroTech
Рет қаралды 26 М.
Beginner React Mistakes You Should Avoid
17:04
PedroTech
Рет қаралды 57 М.
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
Junior vs Senior React Folder Structure - How To Organize React Projects
16:16
The Truth About GraphQL
12:06
Theo - t3․gg
Рет қаралды 105 М.
Do you actually need TypeScript?
10:57
FrontStart
Рет қаралды 2,5 М.
Learn Typescript with React | Quick Crash Course
16:59
developedbyed
Рет қаралды 101 М.
4 React Best Practices That Will Make You A PRO
18:12
PedroTech
Рет қаралды 146 М.
Blazing Fast Tips: React & TypeScript
6:15
Matt Pocock
Рет қаралды 49 М.
What You Need to Know Before Learning NextJS
10:35
PedroTech
Рет қаралды 40 М.
Every React Concept Explained in 12 Minutes
11:53
Code Bootcamp
Рет қаралды 890 М.
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН