v1ack / svelte-virtual-scroll-list

Virtualized scrolling for big lists
https://v1ack.github.io/svelte-virtual-scroll-list/
MIT License
114 stars 18 forks source link

Can you use this library with Sveltekit? #11

Closed alexbjorlig closed 1 year ago

alexbjorlig commented 1 year ago

I'm trying to use this library with Sveltekit, but get this SSR error:

<VirtualScroll> is not a valid SSR component. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules. Otherwise you may need to fix a <VirtualScroll>
idc77 commented 1 year ago

I met this too. I wonder what makes a package SSR compatible.