Richard Searle


isMounted deprecation

17 Jan 2016

The isMounted function is now deprecated. This lead to much discussion, mostly revolving around cancellable promises. Currently, this requires a wrapper around the promise that arranges for the result to ignored once cancellation has been requested.

A RxJS would be particularly convenient since the code can simply unsubscribe from the Observable.