appleandroid
appleandroid
SSolidJS
Created by appleandroid on 8/28/2023 in #support
Is <HydrationScript/> required even if I'm not utilizing SolidJS' SSR?
In my project, the Uncaught ReferenceError: _$HY is not defined is shown when I'm not using <HydrationScript/>, but looking through the Discord server messages, I get the feeling that <HydrationScript/> is only used if I plan to have SSR, which I don't since my project's tech stack is Astro + SolidJS. I also don't recall <HydrationScript/> being mentioned in the tutorial of the new docs website, and the documention for <HydrationScript/> doesn't say if this is required in every project or only for projects that use SSR. My project still runs as expected with or without <HydrationScript/>, but it'll be nice if the confusion on the usage of <HydrationScript/> gets cleared up. Thanks in advance.
6 replies