You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I understand that you are in the process of supporting Svelte 5 natively and I appreciate it. My project uses Svelte 5 in strict runes mode and trying to use layercake results in the following error:
'Cannot use `export let` in runes mode β use `$props()` instead'
FWIW, I am including this patch that let's me get past the error; and I think might benefit others if you could apply it in an interim release before reaching native Svelte 5 support which I can see is NOT an insignificant amount of work. Please disregard if this is not worth your time.
The text was updated successfully, but these errors were encountered:
vijay8i
changed the title
Temporary patch to get past "'Cannot use export let in runes mode β use $props() instead'" error when using Svelte in strict $rune mode
Temporary patch to get past "'Cannot use export let in runes mode β use $props() instead'" error when using Svelte in strict runes mode
Jan 1, 2025
Hi @vijay8i, I've been following the discussion in techniq/layerchart#159 (comment). I agree with the sentiment over there that I don't want to drop support for people using Svelte 4. I don't have a svelte 4 project handy to test on but if you could demonstrate with a repro that it would work fine, that would be great.
Hi! π
I understand that you are in the process of supporting Svelte 5 natively and I appreciate it. My project uses Svelte 5 in strict runes mode and trying to use
layercake
results in the following error:FWIW, I am including this patch that let's me get past the error; and I think might benefit others if you could apply it in an interim release before reaching native Svelte 5 support which I can see is NOT an insignificant amount of work. Please disregard if this is not worth your time.
Here is the diff that solved my problem:
The text was updated successfully, but these errors were encountered: