Skip to main content

One doc tagged with "ui-architecture"

View all tags

Declarative and imperative UI — deriving UI from state

This chapter contrasts declarative and imperative UI by writing the same screen both ways. It covers why declarative UI reduces the mismatch between state and rendering, where you still need to touch the DOM directly, and what price you pay for it.