The overlay's auto-save implementation arrives via a dynamic import that races the first React commit. A hook whose mount effect ran before the overlay chunk evaluated saw installedImpl === null and stayed idle for the whole life of the tab: no debounced saves, no beforeunload flush, with no visible symptom. Any tab that hard-loaded straight into the editor and never remounted it silently lost every edit made after the project was bound. installAutoSaveImpl now wakes hooks that mounted before it ran, so the implementation starts as soon as it exists. Swapping a live impl at runtime remains unsupported. |
||
|---|---|---|
| .. | ||
| __pro_stub__ | ||
| __tests__ | ||
| assets | ||
| components | ||
| data | ||
| desktop | ||
| hooks | ||
| i18n | ||
| lib | ||
| pages | ||
| services | ||
| simulation | ||
| store | ||
| tokens | ||
| types | ||
| utils | ||
| velxio-elements | ||
| App.css | ||
| App.tsx | ||
| elements-register.ts | ||
| entry-server.tsx | ||
| index.css | ||
| main.tsx | ||
| seoRoutes.ts | ||
| vite-env.d.ts | ||