TypeScript just unblocked React Server Components

preview_player
Показать описание
TypeScript 5.1 is out! With important updates to React Server Components and some small usability updates.

Become a TypeScript Wizard with my free beginners TypeScript Course:

Follow Matt on Twitter

Join the Discord:

Рекомендации по теме
Комментарии
Автор

Awesome, I am very excited for the nextjs app folder coming stable, and this is a step forward in that direction.

wfl-junior
Автор

Haven't touched frontend for a while and slowly getting back into it, your videos have been quite refreshing!

bryanbanda
Автор

Every YouTuber: "I'm sorry about the external noise"
Me: "I literally hear no noises"

handlechar
Автор

Nice. I wonder if we'll start seeing JSX be used to declarative create things other than DOM elements and components.

fus-ro-dah
Автор

Im really excited for the performance stuff!

jwueller
Автор

2:22 is a game changer, infact I was facing this issue so much in Nextjs 13

faizanahmed
Автор

So if I get this correctly: undefined isn't the same as not being defined (as, in an object, assigning undefined to a key isn't the same as not having the key at all), but now undefined == void. But, maybe I'm wrong here, I see void as the absence of anything, or in other terms, not defined.
I'm even more confused than before now.

manon.grivot
Автор

Also forgot to mention Linked Cursors for JSX tags. What a huge win!

dealloc
Автор

I like the bip-bip background music, pretty cool

Gabriel-iqug
Автор

I was called a wizard - Instantly subbed

serjio
Автор

Nice! Wont be needing those @ts-ignore comments for server components ❤

victorlongon
Автор

I never got the program world obsession with 'foo' or whatever using this doesn't make the sample code more clear it makes it actually harder to understand for me....

codernerd
Автор

I actually recently got stung by the CSSStyleDeclaration (Like, a day ago).. I ended up writing my own Proxy around it to make it work properly.. I don't recommend doing that..
I just need to wait for 5.1 now ..

ColinRichardson
Автор

Unrelated getters and setters should also unblock Relay, neat

FirroLP
Автор

so I installed TS 5.1 beta but I can't figure out how to type a server component. How can you do it?

mattd
Автор

"now..." === "meow" 😂

dsl
Автор

That undefined vs void return type is just a useless breaking change IMHO

SpaghettiRealm
Автор

fun how react lovers shitted at start on Angular for relying on Typescript and now it's everything

yuriblanc
Автор

Finally 🎉 was getting tired of adding @ts-expect-error

ByteBound
welcome to shbcf.ru