DanteOz
Server rendering error on createResource. Inconsistent HMR.
I am currently get this error when calling
npm run dev
and npm run build
just hangs.
The error refers to this file https://gist.github.com/DanteOz/ad4570b168da5fc5f8707bcd6069bba1, which imports a signal from this file https://gist.github.com/DanteOz/dfc2eb10e574af82c950aa5ad8d6c516. The page renders in HMR by replacing line 31 with export const results = () => []
. If I then replace the original line the page is able to render and the reactivity with my Search component works, but results in a flicker. However, if I restart the dev server it once again breaks. I am using Solid Start with SSR set to false in vite.config.ts
.3 replies