Introduction
State Management Library for Angular applications
Last updated
Was this helpful?
State Management Library for Angular applications
Last updated
Was this helpful?
ng-state
is a controlled nested state container designed to help write performant, consistent applications on top of Angular 2. It is powered by RxJs
and ImmutableJs
and was inspired by .
Core tenets:
State is a single immutable data structure
Each component gets its own peace of nested state
State accessed with actions
variable under component or the Store
, an observable of state and an observer of global state
These core principles enable building components that can use the OnPush
change detection strategy giving you throughout your application.
ng-state
share same core as so it is very beneficial for those who are not bind to one technology.
How it is different from others please read on page.