You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which @ngrx/* package(s) are relevant/related to the feature request?
eslint-plugin
Information
The documentation explains that we need to call super.ngOnDestroy() in our component stores: https://ngrx.io/guide/component-store/lifecycle#ondestroy
However, it's easy to forget.
Ideally, it should be enforced automatically. An ESLint rule sounds like a relatively low effort way to achieve that
Describe any alternatives/workarounds you're currently using
Custom eslint rule
I would be willing to submit a PR to fix this issue
Yes
No
The text was updated successfully, but these errors were encountered:
Which @ngrx/* package(s) are relevant/related to the feature request?
eslint-plugin
Information
The documentation explains that we need to call
super.ngOnDestroy()
in our component stores: https://ngrx.io/guide/component-store/lifecycle#ondestroyHowever, it's easy to forget.
Ideally, it should be enforced automatically. An ESLint rule sounds like a relatively low effort way to achieve that
Describe any alternatives/workarounds you're currently using
Custom eslint rule
I would be willing to submit a PR to fix this issue
The text was updated successfully, but these errors were encountered: