Hacker News

Show HN: <include-content> – Lazy loading with no app JavaScript

5 points by joe-excom ago | 1 comments

joe-excom [-]

Hi HN, this is a single custom element that allows any web site/app to load HTML fragments when needed. It can lazy load/unload (virtualization) and conditional load without the consuming application needing to write any JavaScript; these features are exposed purely as HTML.

It also supports "portalling", preloading, and a handful of other features.

This element is part of a larger suite of custom elements called Nucleus, the goal of which is to make possible accessible, declarative applications with little-to-no JS and no build process. Nucleus implements the novel ASO application architecture.