SolidJSS
SolidJS3y ago
6 replies
Wurfle

Is it possible to create a resource of type HTMLImageElement with SSR?

Is it possible to create a resource of type HTMLImageElement with SSR? The server would have to render the suspense fallback and then load the image right away on hydration.

I tried delaying the resource until onMount, but that wouldn’t render the suspense fallback in the meantime
Was this page helpful?