Aim of this library is to reduce complexity in NGRX State Management and development time and keep the focus of the developer more on Business Logic and also to make the Application intuitive and declarative in nature by reducing excessive boilerplate.
npm install angular-usestateAim of this library is to reduce complexity in NGRX State Management and development time and keep the focus of the developer more on Business Logic and also to make the Application intuitive and declarative in nature by reducing excessive boilerplate.
xml
Output : {{ 'mymessage'|readState|async }}
`>Create NGRX Form State
`xml
FormState Output : {{'biodataform'|readState|async|json }}
`
>Create NGRX State from fetching API
`xml
Multiple API can be Nested
API Data Example :
{{'activitydata'|readState|async|json}}
Masters :
{{'masters'|readState|async|json}}
To Update Any State Variable You can do this
`
$3
- sumOf
- filterArray
- filterLikeArray
- groupBy
- assignObject
- mapTo
- mapToObject
- resolve
- resolveArray
- extendArray
- typeOf
- timeout
- integers
- addSysdate
- mergeArrayOfArray
You can specify the API-ENDPOINT in providers array :
`javascript
[providers]=[ {provide:API_ENDPOINT,useValue:'https://SOME-APIENDPOINT'} ]
``