Widget tree with internal state (setText, setVisibility, addChild, setImageBitmap) • Illegal states (2 updates con fl ict in an unexpected way) THINKING DECLARATIVE Imperative: - put block 1 - put block 2 above - put block 3 above Declarative: - A tower with: - block 1, block 2, block 3 6