6 ms·
I'm a sveltekit user and the default SSR really complicated adding a chart library. Would Unovis work with SSR? Appreciate the Svelte support!
by ericand 4y ago
I'm a sveltekit user and the default SSR really complicated adding a chart library. Would Unovis work with SSR? Appreciate the Svelte support!
- ernaem 4y agoIt should work well with SvelteKit out of the box — the compiler won't complain about SRR. However no charts will be rendered in the SSR html build.
- ngalaiko 4y agowhy not? it seem to be svg based
- imilk 4y agoUntil a better library comes out, I'd highly recommend using Layercake with Sveltekit. It's a wrapper around D3 which allows you to build reusable components that are responsive and can load server side without JS on the client. It's not as plug and play as some libraries, but it's not too bad, and gives you a lot more customization options: https://layercake.graphics/ https://layercake.graphics/