Closed kyao-Frndz closed 1 year ago
Hi.
I may have misunderstood the question, but if you expect ngxsOnInit
lifecycle hook to run again, it won't. This is because when you reset the states, they are set back to their initial value, but not re-initialized. You can see that behavior in this playground. Try ordering a new pizza. All states will be reset, but the init hook will not be called again.
Does that answer your question?
Closing due to inactivity.
Hello Team,
After resetting the ngxs store with StateResetAll, the NgxsOnInit for feature Module states does not work anymore. Any assistance in resolving this will be greatly appreciated.
Thanks.