Perspective's auto-pause is on by default, and pausing deletes the view: AutoPauseState::apply() fires on the viewer's own IntersectionObserver and on the document's visibilitychange, and set_pause(true) does view_sub.take().delete(). Coming back is therefore not a redraw but restore_and_render() -- a fresh view and a fresh traversal of the whole grain -- which is the multi-second chug on every tab switch, and takes any per-node expansion with it. Nothing updates the table while the tab is hidden; every operation is driven from this page. So the pause bought nothing and cost a rebuild. Also drops a comment that still described the old set_depth re-apply on refocus, whose machinery is long gone. 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.