The React model is awesome:

ui = f(state)