Files
make-cad/editor-web
NiJingzhe 3971b9a5cc perf(editor): incremental preview, signature beside the build, reply before filing
A model's parts are identified by the content of their geometry.  The kernel posts only the parts the server does not
hold (a 409 asks for the whole preview), the server gives each page only the parts that page lacks (a page that joins
late or asks with preview.resync gets the whole model), and the page builds geometry only for new parts and reuses the
rest.  A joint angle on the six-axis arm now moves 115 KB instead of 6.26 MB: the post takes 17 ms instead of 285-610 ms,
the page handles the frame in 2-5 ms with no long task, and from the last cell to the model on screen takes 0.36-0.41 s
instead of 1.3-3.2 s.  The signature that files the model is taken beside the build, the server replies to the kernel's
post before filing the model and writing the snapshot, and SCA_EDITOR_TRACE=1 prints how long each step of a settle takes.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 07:32:32 +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.