minsung 96c6b780ce fix: drop StrictMode to stop double-mounting Viewer2D
Viewer2D (ported unchanged) has no dispose/teardown API — it attaches
permanent window listeners and starts its own rAF render loop in the
constructor. React StrictMode's dev-only mount→unmount→remount cycle
was constructing it twice into the same container with no way to tear
the first instance down, leaving two overlapping canvases and broken
rendering (load reported success but nothing appeared on screen).
Also defensively clear the container's children before construction
so a future remount (e.g. Fast Refresh) can't repeat this.

Refs #1
2026-10-12 17:53:33 +09:00
2026-10-12 16:59:42 +09:00
S
Description
DWG/DXF viewer project
Readme
8.9 MiB
0 Stars 1 Watchers 0 Forks
Languages
JavaScript 58.5%
TypeScript 41.4%