Загрузка видео...

Не удалось загрузить видео

На главную

Visual Types, a humble collection of semi-interactive TypeScript lessons, is ready to be clicked upon. ← 👀

155,792 просмотров • 10 месяцев назад •via X (Twitter)

Комментарии: 55

Фото профиля Kit Langton
Kit Langton10 месяцев назад

I'll add to this over time, so please let me know if there's anything you'd like to see covered or improved! 🫡

Фото профиля Kit Langton
Kit Langton10 месяцев назад

Let me know if anyone manages to unlock all the ACHIEVEMENTS. 😜

Фото профиля Matt Pocock
Matt Pocock10 месяцев назад

Beautiful! FYI this resolves to { x: never }

Фото профиля Kit Langton
Kit Langton10 месяцев назад

I had no idea! Fixed! 🫶 (Plus added one more example for the intersection of objects inside of an object)

Фото профиля Matt Pocock
Matt Pocock10 месяцев назад

Neat! I would also order the utility types much higher, and show the difference between Pick/Exclude/Omit/Extract, since that's a very common source of confusion

Фото профиля Kit Langton
Kit Langton10 месяцев назад

I'll do just that! I still need to work on the ordering and improve some of those last few examples (and add more). It gets a bit rougher as it goes on due to my self-administered first-draft deadline! 😜

Фото профиля trav
trav10 месяцев назад

@schickling super cool i love this ps on ios safari 18

Фото профиля Kit Langton
Kit Langton10 месяцев назад

@schickling Nooooooooooooo

Фото профиля Brandon McConnell
Brandon McConnell10 месяцев назад

looks sweet! already sharing in my network I think it could be kinda confusing to show the results in curly braces { … } as some new TS users may mistake that literally with objects (e.g. { key: value })

Фото профиля Kit Langton
Kit Langton10 месяцев назад

Doh. You're right. Darn mathematical set notation! I'll try to find another less ambiguous method for representing sets of values.

Фото профиля Kit Langton
Kit Langton10 месяцев назад

Maybe wrapping it in new Set([ 😜

Фото профиля Brandon McConnell
Brandon McConnell10 месяцев назад

Haha true – btw not the most intuitive to have to hold shift to go backward when clicking through an example either (though I do like it)

Фото профиля Kit Langton
Kit Langton10 месяцев назад

I’m more comfortable with that one because you could always use the arrow keys or click all the way around. I think the only other solution would be to have two explicit buttons, but that would be a bit of clutter. Thanks for the great feedback by the way! I really appreciate it :)

Фото профиля Brandon McConnell
Brandon McConnell10 месяцев назад

ofc!

Фото профиля Jeff Scott
Jeff Scott10 месяцев назад

The animations are elite, but they could use some mobile consideration. I wish all docs were this well done and interactive. Fantastic work!

Фото профиля Kit Langton
Kit Langton10 месяцев назад

@CanadianDevDad Yeah. It's definitely desktop first at the moment 😅 I've got to figure out how to rework some of them for phone sized screens.

Фото профиля Mat Fournier
Mat Fournier10 месяцев назад

Long time no see, this was great thanks.

Фото профиля Kit Langton
Kit Langton10 месяцев назад

Hey Mat! Thank ye :)

Фото профиля Kit Langton
Kit Langton10 месяцев назад

You got a rust job! Nice :)

Фото профиля Mat Fournier
Mat Fournier10 месяцев назад

Hah. Oh how I wish. 95% python, 5% rust.

Фото профиля Rahban Ghani
Rahban Ghani10 месяцев назад

You deserve a follow for this beauty.

Фото профиля Cyandev
Cyandev10 месяцев назад

I think we need another hidden badge for unlocking all achievements 👀

Фото профиля Kit Langton
Kit Langton10 месяцев назад

👏👏👏 Achievement achievements! Should this trigger yet another achievement, and so on; an infinitely linked list of congratulations?

Фото профиля Cyandev
Cyandev10 месяцев назад

Hoping that won't explode my call stack 🤣

Фото профиля Ruan
Ruan10 месяцев назад

olha que maneirinho @typescripting

Фото профиля Ari Dyckovsky
Ari Dyckovsky10 месяцев назад

Who knew clicking types could be such a soothing experience

Фото профиля Kit Langton
Kit Langton10 месяцев назад

I've spent centuries clicking types in my IDE to no avail. It's high time for clicked types to jiggle most pleasantly!

Фото профиля Sree
Sree10 месяцев назад

sound design and animation so immaculate i thought this was an award winning game

Фото профиля Brandon McConnell
Brandon McConnell10 месяцев назад

This is so cool. The practical use of keyboard navigation, scroll snapping, and sound here is absolutely delightful. I want every web application to feel this smooth.

Фото профиля Magnus Strømseng
Magnus Strømseng10 месяцев назад

Thank you so much for making this!

Фото профиля Pochi
Pochi10 месяцев назад

This is a fantastic way to learn TypeScript. We build Pochi with TypeScript and love seeing creative ways to help developers master it. Great work!

Фото профиля Steve Lauda
Steve Lauda10 месяцев назад

Damn good!

Фото профиля Kit Langton
Kit Langton10 месяцев назад

Thanks, Steve! 👈👈😎

Фото профиля Will Mruzek
Will Mruzek10 месяцев назад

Oh hey! Kit's back

Фото профиля Jonathan Aldas
Jonathan Aldas10 месяцев назад

I shared this with all my friends. Amazing!!

Фото профиля Carlos Ziegler
Carlos Ziegler10 месяцев назад

Wow 🤩 very very niceeee !! Thanks for sharing!!

Фото профиля Daniel Ashcroft 🫳🏼
Daniel Ashcroft 🫳🏼10 месяцев назад

Amazing work. Only because you seem like a perfectionist, I noticed there is vertical fade cutoff for code blocks on mobile (safari)

Фото профиля Kit Langton
Kit Langton10 месяцев назад

Doh! Yeah, I've got to fix that stuff. The desktop version is what I gave 99.9% of my attention to. 😅 (And thank you!)

Фото профиля Panduyasha
Panduyasha10 месяцев назад

this is so cool!

Фото профиля Eigil Nikolajsen
Eigil Nikolajsen10 месяцев назад

Beautiful!:)

Фото профиля BlackWolfNews
BlackWolfNews10 месяцев назад

Very useful, thank you.

Фото профиля aron
aron10 месяцев назад

whoa this is amazing

Фото профиля adamhorvath.eth 🦇🔊
adamhorvath.eth 🦇🔊10 месяцев назад

Amazing! Thank you

Фото профиля Dimitar
Dimitar10 месяцев назад

Oh wow that's awesome and the sound design 🕺

Фото профиля Pokémon
Pokémon10 месяцев назад

this is amazing.

Фото профиля Anh
Anh10 месяцев назад

In main-DosnN-le.css, `code { font-family: Commit Mono,ui-monospace,monospace }`. Should it be `code { font-family: var(--font-mono) }` to make it consistent? I might learn Typescript because of you :-)

Фото профиля Mark
Mark10 месяцев назад

Please release the source code, really like the animations. Are they done with Motion?

Фото профиля Kit Langton
Kit Langton10 месяцев назад

They are! 💯 I will release the source eventually, but it's going to be a little while! Working on some more things.

Фото профиля Mark
Mark10 месяцев назад

Thanks a lot!

Фото профиля Michael Vessia
Michael Vessia10 месяцев назад

Thanks Sam for adding vim controls

Фото профиля Ditectrev
Ditectrev10 месяцев назад

Super cool!

Фото профиля Srinivas Devaki
Srinivas Devaki10 месяцев назад

whoa amazing

Фото профиля Kit Langton
Kit Langton10 месяцев назад

Gimme 0 dollars NOW

Фото профиля Michael
Michael10 месяцев назад

@nexxeln one of the most delightful learning experiences I’ve ever had

Фото профиля Bhuvanesh S
Bhuvanesh S10 месяцев назад

This is beautiful. The attention to detail given to each aspect is mind-blowing.

Похожие видео