Files
make-cad/editor-web
NiJingzhe d941cda14b fix: second-round review findings (failure pictures, use() owners, refused posts, front end)
- A face or edge query that matches nothing draws the plain solid again (it returned no picture).
- use() memo: a key kept again under another graph id, and eviction, no longer leave a stale owner.
- A refused preview post names what the server said; a picture that cannot be drawn is said on stderr.
- Editor: a client that left while a frame was sent is not registered again; the damaged-model message is accurate.
- Front end: a kept part is a copy, not a view that pins the frame it came in; a dropped frame is warned.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 03:50:36 +08:00
..
2026-10-13 15:30:22 +08:00

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some Oxlint rules.

Currently, two official plugins are available:

React Compiler

The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.

Expanding the Oxlint configuration

If you are developing a production application, we recommend enabling type-aware lint rules by installing oxlint-tsgolint and editing .oxlintrc.json:

{
  "$schema": "./node_modules/oxlint/configuration_schema.json",
  "plugins": ["react", "typescript", "oxc"],
  "options": {
    "typeAware": true
  },
  "rules": {
    "react/rules-of-hooks": "error",
    "react/only-export-components": ["warn", { "allowConstantExport": true }]
  }
}

See the Oxlint rules documentation for the full list of rules and categories.