Use case
Framework
No Results
Owner
Svelte/5/Migration Recipe
This recipe is a set of codemods that will help migrate to Svelte 5.
Svelte/5/Svelte Element Expression
This codemod updates Svelte component definitions by transforming the
this
attribute in<svelte:element>
tags:Svelte/5/Server Api Changes
This codemod updates Svelte component rendering:
Svelte/5/Is Where Scoping
This codemod updates CSS handling in your project:
Svelte/5/Components As Functions Onfunction
This codemod updates Svelte component instantiation and event handling for Svelte 5:
Svelte/5/Components As Functions Destroyfunction
This codemod updates Svelte component instantiation and event handling for Svelte 5:
Svelte/5/Components As Functions
In Svelte 3 and 4, components were classes, while in Svelte 5, components are functions. This codemod updates the instantiation of Svelte components to use
mount
orhydrate
(imported from svelte), ensuring compatibility with Svelte 5's new functional component model.