A new major version of Svelte svelte@5 has been released! 🎉
The new version brings:
- even better performance,
- a more granular reactivity system with runes,
- more expressive template syntax with snippets and event attributes,
- native TypeScript support,
- and backwards compatibility with the previous syntax!
More details can be found on Svelte's GitHub page..
A great introduction to the new syntax is published here.
React developers may find the new Svelte 5 syntax quite familiar, as compared here. However, the underlying mechanisms are, of course, quite different.