angular-store
  • @angular/store
  • State
  • Reducer
  • Action
  • Dipatch
  • Selector
  • MISCELLANEOUS
    • Methods
Powered by GitBook
On this page
  1. MISCELLANEOUS

Methods

@angular/store also gives you couple of methods which helps in some ways.

Snapshot

if you wish to get current state of you application any time, you can use following code

 constructor(private store: Store) {
   const state = this.store.getSnapShot<AppState>()
 }

PreviousSelector

Last updated 6 years ago