Defensive gate: the browser DSL executor clones the doc, mutates it across all ops, then applies the final doc back in ONE call. A regression that applied per-op would thrash React + history state for no benefit (the surrounding startBatch already wraps it into one undo entry anyway). Spy on `applyExternalDocument` and assert it's called exactly once per 4-op batch. |
||
|---|---|---|
| .. | ||
| public | ||
| server | ||
| src | ||
| CLAUDE.md | ||
| components.json | ||
| dev.ts | ||
| package.json | ||
| tsconfig.json | ||
| vite.config.ts | ||