SolidJSS
SolidJSโ€ข2y agoโ€ข
13 replies
TutoDS

Optimize image loading

Hi everyone
I'm trying to create an image component to be optimized the loading, etc.

I see this repository on a video: https://github.com/w3cj/solid-vs-react/blob/main/solid-image-search/src/components/ImageLoader.tsx

But I'm trying to use it and facing an error: IntersectionObserver is not defined
I need to do someting on SolidStart?
GitHub
This repo has a few apps built with react and solid for comparison. - w3cj/solid-vs-react
solid-vs-react/solid-image-search/src/components/ImageLoader.tsx at...
Was this page helpful?