sveltekit-superforms
sveltekit-superforms copied to clipboard
Superforms is not compatible with Svelte 5 (preview) in rune mode
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",
Are there plans to support a rune mode in the near future?
This is probably why that happens: https://github.com/ciscoheat/sveltekit-superforms/issues/306#issuecomment-1891015986
Looks like an acceptable temporary solution. Thanks! 👍🏻