Ajwah
Rx based store library for React, Vue, Angular, Preact. Manage your application's states, effects, and actions easy way. It's easy to use in functional components with React hooks.
Installation
>> npm i ajwah-angular-store>> npm i ajwah-devtools
Example
counterState
;;;interface Counter msg: string; count: number;@ implements BaseState<Counter> stateName: string = "counter"; initState: Counter = count: 12 msg: "" ; async *: AsyncIterableIterator<Counter> : Promise<any> return { ; }; ;
counterComponent
;;; ; @ @ counter: any; {} { ; } { ; } { ; } { thisstore; } { thisstore; }
App.modules
imports: AjwahStoreModule;