refactor rebuild implementation which mount DOM onto the target document object

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent 19eca4da6d
commit 9a4c21c30f
7 changed files with 230 additions and 117 deletions

View File

@@ -1,5 +1,5 @@
import snapshot, { serializeNodeWithId, resetId } from './snapshot';
import rebuild from './rebuild';
import rebuild, { buildNodeWithSN } from './rebuild';
export * from './types';
export { snapshot, serializeNodeWithId, resetId, rebuild };
export { snapshot, serializeNodeWithId, resetId, rebuild, buildNodeWithSN };