Adopts a state object as the state of a component.
Renders the component again after every transition that changes something, never after one returning the same state.
The state interface
The model, or a factory creating it; resolved once, when the component first renders, so a factory may be written inline and close over props, at the cost of capturing them as they stood then: a prop changing later never reaches the model
The model as it stands for this render, superseded by the next after every transition that changes something
Adopts a state object as the state of a component.
Renders the component again after every transition that changes something, never after one returning the same state.