I agree and would add that the UI is also a pile of mutable state. Even if you model the DOM using a pure function, there's still scroll position, selection, animation, history, and so on.
At the end of the day, users interact with state. We need languages and techniques that manage it well.