Tuex
A simpler Vuex alternative written in TypeScript.
(TypeScript + Vuex) - Complexity = Tuex
Full Documentation
About
Tuex is a reactive centralized state management library for Vue.js. It takes heavy inspiration from the Flux pattern (especially Vuex).
The main goal of Tuex is to make state-management less complex for small-scale apps, while also keeping the state flexibile and scalabile.
Installation
npm install tuex --save# or https://unpkg.com/tuex
Usage
// imports or scripts...Vue; const TuexStore = num: 0 { thisnum += amount; };...
// Vue component... { this$store; console; // => 10 this$storenum = -1; console; // => -1 }...
Roadmap
Coming soon:
- Full Wiki Documentation
- Refactoring
- Performance gains