Monday, April 16, 2018

When you do a .dispatch off of an instance of Store as imported from @ngrx/store...

You don't have to have an effect which would have been found by the action you handed into .dispatch anyways. If you just have an action and a reducer you may write stuff to the store the Store instance references. The magic of how the action and reducer are found is somewhat out-of-sight/out-of-mind in the NgRx machinery.

No comments:

Post a Comment