Quantum Angular: Maximizing Performance by Removing Zone

added by JavaScript Kicks
11/19/2019 7:37:41 PM

316 Views

For Observables, it gets a little bit more complicated: we need to subscribe to the observable and mark the component dirty in the subscription, but we also need to clean it up. To do that, we override ngOnInit and ngOnDestroy to subscribe and then clean the subscriptions.


0 comments