ngOnChanges hook

Normally ngOnChanges is called after actions are created. However it might be that in some cases you might want to call it before. In this case you can override this functionality by passing true as a second parameter to @ComponentState decorator

@ComponentState(SomeActions, true)

Last updated