Now we can use our decorator like this:
🎩 Automagically Unsubscribe in Angular
Netanel Basal

Cool stuff! I’d just maybe change the api slightly s.t. you pass in an object with a “except” or “exclude” property which holds the array. This just to make it more clear. Otherwise one might think you unsubscribe just those you pass in. 🙂

Show your support

Clapping shows how much you appreciated Juri Strumpflohner’s story.