Repository navigation
v0.2.7
Fix the React console error when closing native spreadsheet history/snapshot previews. Univer's nested React root is disposed after the parent React commit, and replacement runtimes wait before reusing the same container. Already cancelled initialization cannot report errors into the next generation. Collaboration listeners and pending work are disconnected immediately.
Real native browser regression covers repeated open/close, rapid same-container workbook switches, closing before rendering, and StrictMode replay. The actual 0.2.6 artifact reproduces the warning; the packed 0.2.7 artifact logs no console/page/editor errors, releases retired runtimes, and leaves the main Yjs bytes unchanged with zero local writes.
Install: npm install @smartdoca/sheet@0.2.7
Validation: TypeScript and all four ESM/CJS/DTS builds pass; 152 tests pass, with one existing optional performance test skipped. Public API and dependencies are unchanged. Model, Yjs, and XLSX runtime JavaScript is byte-identical to 0.2.6. No data migration or host workaround is required.