How Svelte runes syntax is better than plain JS with signals

preview_player
Показать описание
vods channel: @webdevladder_vods
vods channel with raw programming: @webdevladder_vods
Рекомендации по теме
Комментарии
Автор

I made a mistake here around 6:37 - the Svelte derived stores do glitch in the way I'm showing Preact signals stores glitch, but only for updates that occur after the store has been read the first time.



webdevladder
Автор

You can still do like
let midi_access = $derived(app.midi_access)
Though it may be a pain in the ass compared to the simple destructuring, you wouldn't have to write app. every time you use midi_access

figloalds
Автор

Regarding feedback - I think some elements being way more rounded than others looks a bit weird, and in my opinion the fact some of these buttons don't have any gap between them also looks a bit off

Venyl
Автор

I think the .peek() it's equivalent is .snapshot()?

thedelanyo
Автор

svelte is a language for html, css, js

mikejohneviota
visit shbcf.ru