Demo repo: https://code.area17.com/antoine/behaviors-state-management/
Key Concepts
Create your store with actions, mutations and an initial state:
Dispatch changes:
Subscribe to changes:
Unsubscribe to changes
Demo Cart
This demo cart uses the following behaviors: