Loading video...

Video Failed to Load

Go Home

Should there be Switch syntax in Svelte? 🤔

32,031 views • 3 years ago •via X (Twitter)

9 Comments

Gabriel Grubba's profile picture
Gabriel Grubba3 years ago

with pattern matching yes please

Flemming Miguel's profile picture
Flemming Miguel3 years ago

yeah If chaining gotta go

ドムトル 🇵🇸 🍞🌹🏴🚩's profile picture
ドムトル 🇵🇸 🍞🌹🏴🚩3 years ago

If it has pattern matching, then maybe.

Saul 🥪's profile picture
Saul 🥪3 years ago

Syntax is just barely easier to write and less capable than an if block. Not a fan.

Darren Baldwin's profile picture
Darren Baldwin3 years ago

I like the idea in concept but the syntax is disgusting

Yousuf Iqbal's profile picture
Yousuf Iqbal3 years ago

No

Daniel Rincón's profile picture
Daniel Rincón3 years ago

YES!

ArBe's profile picture
ArBe3 years ago

Absolutely

owonikoko olaoluwa's profile picture
owonikoko olaoluwa3 years ago

It will be amazing 👏

Related Videos