eleventy-plugin-react icon indicating copy to clipboard operation
eleventy-plugin-react copied to clipboard

Lazy load and hydrate components only when they're in the viewport

Open kaicataldo opened this issue 3 years ago • 1 comments

We may want to put this behind a config option (probably at the component level in withHydration()), defaulting to lazy loading. This will then have to be serialized into the markers so the client knows what to do for each component marked for hydration.

kaicataldo avatar Sep 10 '21 02:09 kaicataldo

Working on this.

kaicataldo avatar Sep 23 '21 02:09 kaicataldo