Closed Silthus closed 6 years ago
I think it would be good to create a simple Interface that needs to be implemented on the state class for the livecycle events.
Implementing the interface would be more intuitive than guessing the signature of the livecycle method.
implements NgxsOnInit
Yup good call.
@amcdnl could we also change onInit to ngxOnInit?
@deebloo im fine w/ that.
I think it would be good to create a simple Interface that needs to be implemented on the state class for the livecycle events.
Implementing the interface would be more intuitive than guessing the signature of the livecycle method.
implements NgxsOnInit