SvelteStack / svelte-query

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

Upgrade broadcast-channel to 4.2.0 #51

Closed benmccann closed 3 years ago

benmccann commented 3 years ago

Helps with https://github.com/SvelteStack/svelte-query/issues/45

There's still an issue, but can be fixed with ssr.external. The Vite team is currently talking about doing that by default in which case svelte-query should just work with a future version of Vite after this is merged

evanwalsh commented 3 years ago

@amen-souissi any chance a new release could go out with this PR included?

SomaticIT commented 2 years ago

Hello,

A new version (v1.5.0) of this library has been published today. This version makes broadcast-channel an optional dependency. This should fix all problems with svelte-kit.

If you need to use the experimental broadcastQueryClient, you now need to install it manually (see: broadcastQueryClient).

If you still encounter issues with v1.5.0. Please open a new issue.