Dido
SyntaxError: The requested module 'solid-js/web' does not provide an export named 'classList'
Hi @Vincent Udén thanks for sharing your experiences.
I'm indeed not using Solid Start so this particular solution probably won't work for me.
However, this
The problem is that solid-slider expects to be rendered only on client and thus uses the classList export from solid-js/web either directly or in one of it's dependencies.confirms what I was suspecting. It seemed odd to me that the rollup build of that package is only done without passing any SSR options (so it defaults to DOM).
5 replies
How to use <Hydration> and <NoHydration>?
That sounds very cool and I would love to use it. I would just like a bit more info about it. Like
- does that mean I don't have to call
hydrate
anymore on the client side?
- will using <NoHydration>
in a SSR setting mean that the the code for the children of <NoHydration>
will automatically be stripped out of the client bundle?
Maybe I have to wait for the docs for it.6 replies