I like version 5 more than 4. It is less magical and I like that you are only declaring reactive variables when you really need to. It is a nice API they designed: cleaner and more explicit.
Those runes... are not a good idea at all. Svelte was extremely powerful for its simplicity. Gosh, I gladly moved from React when Svelte was version 2. Not I see that we kinda got React again. That bothers me a lot. Here's a simple example from Svelte < v5: tableData.addColumn(3, { name: 'Average Price', key: 'av_price' }); // Implicit data change tableData = tableData; // Explicit reactivity trigger The syntax is obvious and it worked just perfectly well. But now, with runes... It no longer works. We see some weird custom Map and Set classes for addressing this issue, though the issue is much wider than that. I don't even talk about overcomplicated syntax and extremely unclear behavior and actual content of objects you reference... It was a terrible terrible idea. :(
Please share the link to this samples.
I don't know that he shared a repo but all the Svelte 5 preview stuff is here: svelte-5-preview.vercel.app/docs/introduction
I like version 5 more than 4. It is less magical and I like that you are only declaring reactive variables when you really need to. It is a nice API they designed: cleaner and more explicit.
Those runes... are not a good idea at all. Svelte was extremely powerful for its simplicity. Gosh, I gladly moved from React when Svelte was version 2. Not I see that we kinda got React again. That bothers me a lot. Here's a simple example from Svelte < v5:
tableData.addColumn(3, { name: 'Average Price', key: 'av_price' }); // Implicit data change
tableData = tableData; // Explicit reactivity trigger
The syntax is obvious and it worked just perfectly well. But now, with runes... It no longer works. We see some weird custom Map and Set classes for addressing this issue, though the issue is much wider than that. I don't even talk about overcomplicated syntax and extremely unclear behavior and actual content of objects you reference...
It was a terrible terrible idea. :(
$props, $bindable, #snippet and @render, not a fan. They solve things, but what a mess.