You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`@async/framework` is the Layer 1 runtime plus the first Layer 2 app/server
47
-
primitives. It keeps the runtime small and explicit:
46
+
`@async/framework` is the L1 runtime plus the first L1.5 app/server and
47
+
streaming primitives. It keeps the runtime small and explicit:
48
48
49
-
- No build step for Layer 1 consumers.
49
+
- No build step for L1 consumers.
50
50
- No virtual DOM, diff path, hydration runtime, or component rerender loop.
51
51
- Signals are the state boundary.
52
52
-`Async.use(...)` registers app declarations before or after startup.
@@ -68,18 +68,14 @@ to the same runtime registries and HTML protocol.
68
68
Async is designed as layers, so each level can stay useful without forcing the
69
69
next level on every app.
70
70
71
-
|Layer| Name | Requirement | Purpose |
71
+
|Shorthand| Name | Requirement | Purpose |
72
72
| --- | --- | --- | --- |
73
-
| 1 | Runtime bootloader | No build. CDN or direct ESM import. | Signals, async signals, scheduler, handlers, command events, lifecycle pseudo-events, scoped fragments, and boundary swaps. |
74
-
| 2 | App/server layer | Light server integration. No app compiler required. |`Async.use(...)`, router modes, server function proxy, partial registry, SSR output, browser activation, and split browser/server cache. |
75
-
| 3 | Authoring build | Build step required. | JSX, ESM, and TypeScript authoring that lowers into Layer 1 HTML attributes and Layer 2 registries. |
76
-
| 4 | Chunk and resumability metadata | Build metadata required. | Lazy module manifests, visibility/prefetch hints, resource graphs, and resumability records that the bootloader can consume. |
| 6 | TSRX and intent layer | Higher-level compiler required. | More declarative author intent, AI/compiler-friendly metadata, and source forms that generate lower-layer Async apps. |
79
-
80
-
The package in this repository intentionally focuses on Layers 1 and 2. Layers
81
-
3 through 6 are higher authoring surfaces, not extra runtime requirements for
82
-
plain HTML apps.
73
+
| L1 | Runtime bootloader | No build. CDN or direct ESM import. | Signals, async signals, scheduler, handlers, command events, lifecycle pseudo-events, scoped fragments, and boundary swaps. |
74
+
| L1.5 | App/server and streaming bridge | Light server integration. No app compiler required. |`Async.use(...)`, router modes, server function proxy, partial registry, SSR output, browser activation, split browser/server cache, and streamed boundary patches. |
75
+
| L2 | Build-required authoring and compiler profile | Build step required. | JSX, ESM, and TypeScript authoring, optimizer reports, generated plans, generated registries, chunks, manifests, and future resumability records that lower onto L1 and L1.5 protocols. |
76
+
77
+
The package in this repository intentionally focuses on L1 and L1.5. L2 is a
78
+
higher authoring surface, not an extra runtime requirement for plain HTML apps.
0 commit comments