A thesis on web platform trajectory and the premise behind the new ASO architecture and its implementation: Nucleus (MIT), which allows you to make zero-app-JS, zero-build web apps.
HTML was designed as a photograph: a snapshot of initial state, handed to the browser for a single paint. Take a look at a text <input> for instance; the value attribute remains stale even when you type in the input. The real value lives in the DOM node’s property and the markup doesn’t change. That is not a bug, it’s a fossil from the original design of the web platform.
Soon after, the document was made mutable. DHTML, scripting, and decades of libraries began to make it move - from the outside. External logic reached into it and changed facts, but the document never knew why.
Then - <details> and <dialog> shipped. These elements toggle their own open attributes. No script fires. No framework is consulted. This fundamentally changed the direction of the web’s architecture. The document was now alive - and began to manage itself as a living state. This direction continues to accelerate since popover and invoker Commands shipped.
The patient is breathing on its own.
Conventional JavaScript frameworks and libraries have a common model: they have their own component/state tree in memory and the DOM is a projection of it. This begins to break the moment the browser changes something on its own; hence the controlled-input saga and special plumbing built for dialog , details , and the like. This makes the “virtual DOM” & company into a map that argues with the territory - every special case is a confession of this.
Solid, Svelte, and the signals libraries don’t reconcile a tree, but rather wire a signal straight to an attribute, so the practical pain mostly disappears. But the signal is still the owner and the DOM is the projection. When the browser toggles details[open], the signal is stale until you wire a listener in the other direction.
These existing libraries keep a separate copy of their own state and treat the document as a render target.
With each self-managing element & feature the platform ships, this gap widens.
The platform continues to move towards a document that owns its own state, and deserves a UI architecture which is symbiotic, rather than conflicting, with it. That is the premise behind ASO (Adapter, State, Orchestrator). ASO codifies the DOM itself as the single source of truth - the application State. Adapters are custom elements that bridge the State to external protocols (such as fetch, device sensors, etc). The Orchestrator is what wires it all together to produce cohesive application behaviors.
In the Nucleus stack, Quark is the Orchestrator. It’s a sheet, declaratively written in CSS syntax, which observes the document and writes back to it.
Quark also handles attribute writes, stamping of <template>s, iterations, event listening, Command invocation, View Transitions, and more. See the mock ecommerce site Wrenfield as an example.
None of this makes existing libraries wrong. The framework-owns-state model was a good approach to a dead document, but it’s now an adaptation to a problem that is disappearing. The cost of this mismatch grows with every self-managing feature the platform releases.
Now that the building stands on its own, shall we continue to invest in the scaffolding?
Docs: https://nucleus.excom.dev/
Repo: https://github.com/excom-dev/nucleus
Architecture: https://nucleus.excom.dev/docs/adapter_state_orchestrator