_calvinandhobbes
_calvinandhobbes
SSolidJS
Created by _calvinandhobbes on 4/13/2023 in #support
how to use createResource in Astro SSR
Ya I was curious if there’s a way to avoid the double serialization. Feels like there should be.
6 replies
SSolidJS
Created by _calvinandhobbes on 4/13/2023 in #support
how to use createResource in Astro SSR
Well you can. You just need to pass initialData, and ssrLoadFrom = initial.
6 replies
SSolidJS
Created by _calvinandhobbes on 3/20/2023 in #support
does @solidjs/testing-library render shadowDom?
Ya I was trying to use that but it only has selectors. I found https://github.com/jsdom/jsdom/pull/2347. It looks like jsdom supports it and I'm setting up vitest with a jsdom env. I think that it may be a problem where it doesn't wait for the element's definition to load. As I looked at it again and it seems to render the shadow root with my FOUC styles saying display:none if it's not defined but it doesn't wait to load the custom element's definition where my custom button pops in. Any advice?
9 replies