To keep It in line with Angular way of things, you can create a new Subject in RxJS and use the TwitchAPI events for your subscriptions. In VueJS I created a Reactive value that handles all about Authentication on Twitch. I’d do the same for Angular in the form of a RxJS Observable. It’s really not that hard. Just listen to the Events from the API.
1 Like