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
This is because the component is run on the server where requestAnimationFrame is not defined...if you try to wrap everything in onMount or $effect it'll work
This is because the component is run on the server where requestAnimationFrame is not defined...if you try to wrap everything in onMount or $effect it'll work
Thanks! Most likely will solve my problem.
but since this is working in sveltekit+svelte4 and it is just initializing the tween value in server side, i don't think it should call requestAnimationFrame
Adding this to the 5.0 milestone for the team to take a look at. At the very least we'd need to mention it in the breaking changes section and migration guide
Describe the bug
below code works on svelte 4 and svelte 5
but not sveltekit with svelte 5
svelte 5
Reproduction
included
Logs
No response
System Info
Severity
cant run my code :(
The text was updated successfully, but these errors were encountered: