@ngrx/component-store Playground
This is a repo that showcases different use-cases which utilizes @ngrx/component-store.
Technologies
- Nx
- Angular
- NGRX Component Store
- IndexDB - this might be soon replaced with RxDB
- TailwindCSS
- Formly
- Jest
- Cypress
- ngneat/spectator
- observer-spy
Use-cases
Please check each individual use-case for more info
- Ui Global Store: We utilize Component Store for a simple
UiStore
for our dark/light mode - Todo: Simple todo applications
- Workflow: Workflow applications with Recursive Tree structure + nested Component Store
- Form: Forms demo with Formly
Testing
Nx comes with Jest and Cypress by default and that's what we're using to write tests for this playground. In
addition, we also utilize Spectator for overall Angular testing and ObserverSpy for testing Observable
. Please
check out the *.spec.ts
files throughout the repo for details.
Contribute
Please check our CONTRIBUTING GUIDE