Skip to main content

40 posts tagged with "Architecture"

Framework-wide structure and conventions

View All Tags

Why the live editor re-renders from the model to nest a column instead of moving the DOM

· 3 min read
Jon-Michael Lastimosa
Senior Web Developer

The question: The live editor moves actual front-end DOM nodes when you drag something. But nesting a column needs an inner .fw-row that doesn't exist in the rendered page yet — the corrector only creates it at render/save time. So when I drop a column into another column, do we hand-build that inner-row DOM inside the editor frame, or do we re-render?