3 ms·
You can but it's nowhere near as elegant and natural. Vue exposes ref(), .value, etc which personally I find to be just cognitive overhead. With Svelte 5 you
by pier25 2y ago
You can but it's nowhere near as elegant and natural.
Vue exposes ref(), .value, etc which personally I find to be just cognitive overhead.
With Svelte 5 you just use $state and don't need to care about the implementation details. Furthermore, thanks to the compiler approach, your Svelte code is not coupled with an internal API anymore.