Web Design

An Approach to Lazy Loading Custom Elements

February 13, 2023
An Approach to Lazy Loading Custom Elements

We’re fans of Custom Elements around here. Their design makes them particularly amenable to lazy loading, which can be a boon for performance.

Inspired by a colleague’s experiments, I recently set about writing a simple auto-loader: Whenever a custom …


An Approach to Lazy Loading Custom Elements originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter.

Read More

Our latest news

Read the latest news, articles and tips from Add On IDX

Want to learn more?

Signup