Skip to content

Superforms is not compatible with Svelte 5 (preview) in rune mode #426

Open
@Serator

Description

@Serator

Hi and thank you for the awesome library!

When using Superforms in runes mode on the entire app (https://svelte-5-preview.vercel.app/docs/runes#how-to-opt-in) in Svelte 5, an error is thrown: "...SuperDebug.svelte:90:1 Cannot use `export let` in runes mode - use `$props()` instead".

Link for reproduction: https://stackblitz.com/edit/vitejs-vite-z2xcch?file=src%2Froutes%2F%2Bpage.svelte

"svelte": "^5.0.0-next.123",
"sveltekit-superforms": "^2.13.1",
image

Are there plans to support a rune mode in the near future?

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationsvelte-5Related to Svelte 5

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions