Don't put your own code in the constructor of an "Action" implementing Action in model.d.ts of @ngrx/store as it will never run.
Clearly public variables may be looped in inside of the parenthesis at the constructor but you can't log something to the console inside of the curly braces. This is the painful lesson for the day. (This all has to do with using Redux in Angular.)
No comments:
Post a Comment