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'm getting Error: Function called outside component initialization but i can't understand why.
SSWR is called inside onMount.
onMount -> wrapper method -> SSWR.
Hi!
Thank you for creating SSWR!
I'm getting
Error: Function called outside component initialization
but i can't understand why.SSWR is called inside onMount.
onMount -> wrapper method -> SSWR.
Error trace:
Where it starts:
Wrapper method:
Versions:
I don't use SvelteKit
What i'm missing out? What i'm doing wrong? Cant SSWR be used inside promises?
Edit:
I've tried upgrading
"@sveltejs/vite-plugin-svelte": "^1.1.0",
but didnt make any change.The text was updated successfully, but these errors were encountered: