Exploring State Management: Models, Messages, and Updates
tl;dr;
There are just two main
- State: Model
- Events: Messages and Updates
Looking historically at the overlaps between state we can see that state could be contained in
State
- DOM
- DOM + data attributes
Other examples on the messages and update approach:
- promises