SvelteStack / svelte-query

Performant and powerful remote data synchronization for Svelte
https://sveltequery.vercel.app
MIT License
813 stars 31 forks source link

fix: make svelte external #81

Closed Grafikart closed 2 years ago

Grafikart commented 2 years ago

I'm currently working on a project where I encounter the error Function called outside component initialization which mean I have multiple version of svelte loaded somehow. When I explorer your library I noticed you load svelte components without exposing it as a peerDependency. In some scenario you can end up with multiple version of svelte.