Files
artcraft/frontend/apps
Tanish Manku 4c66c39109 3D editor: drop render-trace debug, clarify upload modal comments
Remove the TEMP render counters from PageEditor / Controls3D / UploadModal3D
now that the inline-component-anti-pattern bug is understood and fixed.
Investigation showed the apparent "4 renders per click" was a StrictMode
dev artifact (one real render, doubled, hitting two UploadModal3D
instances). The single re-render is benign on its own — the bug was
always that <UploaderModalContent /> registered a fresh component
reference each render and remounted the dropzone mid-click.

Update the call-site comment in all five upload modals to spell out
the consequence (file picker breaks) so the inline call form isn't
mistakenly "cleaned up" back to <Comp />.
2026-05-08 09:30:35 -07:00
..