I wonder if the essential parts of React could be copied and used as a library and some design patterns in more traditional MVC code. What are these essential pieces? I can think of two at the moment…
- The “reconciliation” algorithm - ie, taking the UI descriptions (generated by pure functions) and using them to update the browser DOM.
- Imposing some global order on model change events, so that you don’t update UI that is about to be invalidated by another UI update further up the tree.
I may take a shot at this bare bones approach.