State Management: Models, Messages, and Updates (2016)

Table of Contents

1. 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

1.1. State

  • DOM
  • DOM + data attributes

Other examples on the messages and update approach:

  • promises