S00-002: Propose a pinned React stack with a reproducible rendering spike
Changes: Compare React and Vue in ADR 0001; pin React 19.3.1, TypeScript 7.0.2, Vite 8.3.4 and Node 24.21.0/npm 11.19.0. Add isolated TSX counter, exact lockfile, runtime/TLS guards, reproduction instructions and license inventory/runtime notices. Preserve the reviewed registry probe and leave ADR proposed for security review. Validation: Clean npm ci with a fresh cache and npm run build passed on the pinned tools; strict typechecking and repeated local build hashes matched. HTTP preview served HTML and matching JS. make check passed all 66 tooling tests; git diff --check passed. Browser interaction was unavailable and is recorded as an external check; no app, crypto/protocol interoperability or release readiness is claimed. Task: S00-002 Agent: auto-orchestrator-68a05c587e33 Role: orchestrator Action: claim Status: review Task title: Выбрать framework и build runtime
This commit is contained in:
1 parent
06f353b214
commit
59b9ff62fe
21 files changed
+1729
-16
No files matched your search
@@ -0,0 +1,20 @@
|
||||
import { useState } from 'react';
|
||||
import { createRoot } from 'react-dom/client';
|
||||
|
||||
function RenderingSpike() {
|
||||
const [count, setCount] = useState(0);
|
||||
return (
|
||||
<main>
|
||||
<h1>Luma rendering spike</h1>
|
||||
<p>Local UI experiment; no account or transport.</p>
|
||||
<button type="button" onClick={() => setCount(value => value + 1)}>
|
||||
Increment
|
||||
</button>
|
||||
<output aria-live="polite">Count: {count}</output>
|
||||
</main>
|
||||
);
|
||||
}
|
||||
|
||||
const root = document.getElementById('root');
|
||||
if (!root) throw new Error('Missing rendering root');
|
||||
createRoot(root).render(<RenderingSpike />);
|
||||
Reference in new issue
Block a user