Best of SvelteJanuary 2025

  1. 1
    Article
    Avatar of svelteSvelte Blog·1y

    What’s new in Svelte: January 2025

    Svelte 5 has introduced new features such as the ability to export snippets from module scripts, `defaultValue` and `defaultChecked` support for inputs, a new loosely-parsed AST for developer tools, and enhanced worker-based environment support. New syntax enhancements include the `<svelte:boundary>` element for error capture, `Spring` and `Tween` classes for animations, and the `outro` option in `unmount`. SvelteKit updates include a new `init` hook, improved bundling strategies, and updated language tools. Several community projects, learning resources, and libraries are also highlighted.

  2. 2
    Article
    Avatar of communityCommunity Picks·1y

    Svelte Flow

    Svelte Flow is a customizable component for building interactive graphs and node-based editors, currently in alpha development. The package can be installed via npm, yarn, or pnpm and includes components like SvelteFlow, Controls, Background, and MiniMap. Users can try it out online through Stackblitz or get started quickly using the provided Vite template. Contributions and community participation are encouraged via Discord, GitHub, or direct contact with the creators.