Closed mcous closed 6 months ago
@yanick leaving the structural / strategy discussion aside, what do you think about the PR as is? I think the removal of the svelte/legacy
import and the addition of a component fixture using runes puts us on the right track for the Svelte 5 proper release, so I'm keen to get this PR in
Going to incorporate this into #375 to avoid an intermediate release
This PR removes usage of the
svelte/legacy
by implementingrerender
in Svelte 5 via the$state
rune, as recommended in the migration docs.It also adds a "runes mode" component fixture and parameterizes the
render
andrerender
tests to test both "legacy" and "runes mode" components when running in Svelte 5