update

open fun update(update: ViewUpdate)

Called whenever the view state changes.