Dido
Dido
SSolidJS
Created by Dido on 11/14/2023 in #support
SyntaxError: The requested module 'solid-js/web' does not provide an export named 'classList'
We currently evaluating whether we can replace or fork this package. Thanks for your hints.
5 replies
SSolidJS
Created by Dido on 11/14/2023 in #support
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
SSolidJS
Created by Dido on 3/29/2023 in #support
How to use <Hydration> and <NoHydration>?
Got it, thanks for clarifying.
6 replies
SSolidJS
Created by Dido on 3/29/2023 in #support
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