rigby
React is great, but... y'know
Installation
Creating a Store
Rigby;
Or with ES2015+:
; { super"YourStoreName"; thisstatetodos = text: "Your Data Goes Here" complete: false ; } { thisstatetodos; this; }
Or with TypeScript:
; interface ToDo text: string; complete: boolean; interface YourStoreState todos: ToDo; <YourStoreState> { super"YourStoreName"; thisstatetodos = text: "Your Data Goes Here" complete: false ; } { thisstatetodos; this; }
Dispatching Actions
; Rigby;
Why
Less boilerplate when creating Stores and a more fluent API for doing so.
Plans
This is a thought experiment, and there are plans for versions that allow for using RxJS or move in the direction of things like Cycle and Yolk.