The refocus timing is the sort of thing that will shift again -- a Perspective upgrade, a different machine, a slower load -- and rebuilding this instrumentation from scratch each time is wasted work. So it stays, behind a flag, instead of being reverted. probeView() returns before touching the viewer when the flag is off, since it calls getView() purely to report identity. Note for whoever reads the log next: the view ids it prints cannot be used to detect a rebuild. getView() hands back a fresh wrapper object on every call, so consecutive calls always look "rebuilt". The reliable signal is whether the re-apply throws "No table set". Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| vendor | ||
| .gitignore | ||
| eslint.config.js | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| vite.config.js | ||
React + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Oxc
- @vitejs/plugin-react-swc uses SWC
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 ESLint configuration
If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and typescript-eslint in your project.