正在加载视频...

视频加载失败

Should there be Switch syntax in Svelte? 🤔

32,031 次观看 • 3 年前 •via X (Twitter)

9 条评论

Gabriel Grubba 的头像
Gabriel Grubba3 年前

with pattern matching yes please

Flemming Miguel 的头像
Flemming Miguel3 年前

yeah If chaining gotta go

ドムトル 🇵🇸 🍞🌹🏴🚩 的头像
ドムトル 🇵🇸 🍞🌹🏴🚩3 年前

If it has pattern matching, then maybe.

Saul 🥪 的头像
Saul 🥪3 年前

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

Darren Baldwin 的头像
Darren Baldwin3 年前

I like the idea in concept but the syntax is disgusting

Yousuf Iqbal 的头像
Yousuf Iqbal3 年前

No

Daniel Rincón 的头像
Daniel Rincón3 年前

YES!

ArBe 的头像
ArBe3 年前

Absolutely

owonikoko olaoluwa 的头像
owonikoko olaoluwa3 年前

It will be amazing 👏

相关视频