NetanelBasal/ngx-auto-unsubscribe

AOT Build supported?

flash-me opened this issue ยท 3 comments

Does this work with AOT?

Sure. The only thing you need to do is define the ngOnDestory method.

ok, perfect ๐Ÿ‘ Another question:
here you do the check a second time, even though you did it in line 13. Is there a reason behind it?

Nope, it can be cached.