Open rbozan opened 5 months ago
…why rendering it on server? it's for browser
I understand that it's for the client and rendering on the server would be pointless but because of server side rendering Sveltekit will try to render your component on the server. Usually the component will have a check in place if you are on the server, and if so it will not try to render it on the server to avoid this error.
So I mean there should be a check in place to disable rendering on the server so we can use the component in Sveltekit.
Can you share a minimal reproduction link please? Because I'm also using it on sveltekit and there's no issue.
Hi, it doesn't work when using Sveltekit because of serverside rendering: