> the goal is to write the code "generically with respect to time," describing the state of the UI right now for any value of now. I think this is clearer in the above code samples, where the code always executes a complete declaration of the desired UI rather than explicitly mutating prior state.
I almost wish the post led with this, anp. It’s such a great and concise description of the aim for the project, and really helps clarify all underlying decisions.
Thanks for writing this post. It’s great!