Render mindset: the UI is a projection of state
Do not mutate random nodes without a data source you can explain.
When state changes because of a filter, search or deletion, the screen should reflect that state deterministically.
Separating transformation, template and mounting keeps the rendering flow understandable even when business rules grow.