My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more
Unified State Management for Angular, React, Vue, and Svelte

Unified State Management for Angular, React, Vue, and Svelte

Petri Silen's photo
Petri Silen
·Feb 21, 2020

Universal model is a unified state management solution for the most popular modern Web UI frameworks: Angular, React, Svelte and Vue.

Model is composed of a store, states, actions, selectors and services that are the same for every UI framework - only view parts differ.

Universal model is best demonstrated by an example:

1. Create initial state

2. Create state selectors

3. Create a store

4. Create some actions

5. Create your view

Resources

For more information, API, and examples, visit: