mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
docs(chord): slice 11 applies plugin scripts in place
This commit is contained in:
parent
cdd50052f6
commit
7f7ec86806
1 changed files with 5 additions and 0 deletions
|
|
@ -2279,6 +2279,11 @@ validation and copies the v2 kernel added around Delta.
|
|||
plugins as one combined file named by a hash of the set (one request, cacheable); while a page is open, a rollout's
|
||||
changed plugins are fetched one script each. A fresh page makes two requests, an update downloads only what changed.
|
||||
Rejected: a prebuilt base bundle shipped with the app (could disagree with the plugins' build).
|
||||
- **Slice 11, P4: new plugin scripts apply in place (owner, 2026-11-01: "yep, agree"):** a page's host reloads the
|
||||
changed plugins per plugin (`host.reload`, as on the server): objects swap or restart, the UI re-renders from its
|
||||
registries, keeping what is on screen (scroll, a half-typed message). A change of base code still reloads the whole
|
||||
page. Rejected: reloading the page for every plugin change (p2's behaviour, which lost the screen on every agent
|
||||
edit).
|
||||
- **A plugin's npm dependencies are bundled; external only by opt-in (owner, 2026-10-29: "explicit opt in + (a)"):**
|
||||
a plugin's `dependencies` are installed into its own `node_modules` (`npm install --ignore-scripts`) and bundled into
|
||||
each facet that imports them (host packages, its `peerDependencies`, stay external and are passed in). On Node a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue