Typescript Generics Tutorial

preview_player
Показать описание

#typescript


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

One of the best tutorials on Generics I have ever watched. Thank you Ben!

sanjarmirakhmedov
Автор

I've been youtubing and googling for over an hour trying to wrap my head around generics. The first 5 minutes of your video did a better job than all the other videos and articles and documentation. Kudos, and thanks!

mccall
Автор

to return the tuple you can also assert `as const` at the end of that function

swyxTV
Автор

Mad props for making this. Found that the docs were pretty lacking when it came to generics and this really cleared things up. Been using TS for a while now but still found this super helpful

glzr_io
Автор

This video legit dropped right when I was reading Typescript docs

kps
Автор

This is the best generics tutorial on YouTube

ayomikuolatunji
Автор

Thank you Mr. Awad for the short, concise, and elegant explanation of generics.

nicholasroman
Автор

I read few blog posts about generics and thought I am too stupid for that but your explanation made me understand everything I struggled with before. Thank you <3

paulina
Автор

I can't count how many times I've use a Ben's video to settle a discussion :D Thank you for the all awesome content! Inspiring programming style, using TS at it's best, always!

rafarovina
Автор

At 19:37, it seems to be some sort of parsing error which mistakes <T> for JSX instead of a TS generic. You don't necessarily have to "extend" something to get the parser to realise it's a TS generic -- a simple <T, > would work as well.
Great video, Ben!

navazalani
Автор

By the way ur killing it my dude. Keep grinding your in your way

Cognitoman
Автор

Really good as always, Ben! I've been using TypeScript for a while now, but I still learnt a lot from this video! Thank you.

KolHaNDLuKex
Автор

- The best generics tutorial I've ever watched!

Bostologia
Автор

this the best typescript tutorial video i have ever watched, thank you

malikaremu
Автор

dopest video ever. i always come to this when i forget generics. this video alone is 80% typescript

xyz-eyul
Автор

Ben Awad the boss of coding on youtube and some of the best explanations that I have seen.

thisisgksingh
Автор

Still relevant in 2024, thanks a lot Ben :)

gopiloxi
Автор

I love this.... Just started rewriting an open source library of mine in typescript and this was just what I needed. Thanks @Ben Awad

ikezedev
Автор

I started reading about typescript today and this is better than the docs. thank you

lastmaj
Автор

The video was really quickly but you give the concepts clearly and concise, thanks, man <3

yurin