Fri Aug 18 01:39:09 EDT 2017


M: model state
V: view state
VM: viewmodel state
V_i: view states

VM = {p(M),V}

V_i = f(V,p(M))  

where p(M) is projection or presentation of model

modelview code:
- accept events from views to update V, possibly M
- accept events from model to update p(M)

still I don't see why this can't just be a controller.  maybe because
the views don't have their own state (only caches directly derived
from VM state).

The main idea is: views should not manage their own state.

But inside this really is the React idea: project the presentation
state onto the screen.

Can I have a mini react?