Settings

Theme

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

nucleus.excom.dev

6 points by joe-excom · 1 comment

Reader

1 thread
joe-excomOP

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.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection