Files
buuh/packages/component/package.json
T
Bendik Aagaard LynghaugandClaude Fable 5 c696e00d4f feat(component): add @choojs/component — nanocomponent + on-load as ES classes
Ported from nanocomponent 6.6.0 and on-load 3.4.1 (MIT) with attribution:
render/update/morph lifecycle, proxy nodes with isSameNode identity, and
the MutationObserver-driven load/unload hooks. This class is the intended
island/hydration boundary for later phases. @choojs/core exposes ./timing
as a subpath for the instrumentation calls.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014NgfSjHE11oFpoSnLVKLXd
2026-09-08 16:56:54 +02:00

30 lines
536 B
JSON

{
"name": "@choojs/component",
"version": "8.0.0-dev",
"description": "Native DOM components with lifecycle hooks — the choo island boundary",
"type": "module",
"exports": {
".": "./index.js",
"./onload": "./onload.js"
},
"files": [
"index.js",
"onload.js"
],
"engines": {
"node": ">=24"
},
"dependencies": {
"@choojs/core": "*",
"@choojs/html": "*"
},
"repository": "choojs/choo",
"keywords": [
"component",
"dom",
"lifecycle",
"choo"
],
"license": "MIT"
}