I want to turn off ZoneAwareError in Angular for the performance issue.
I try to find a solution at the Documents, but I couldn't find it.
Are there other APIs to solve this problem?
I want to turn off ZoneAwareError in Angular for the performance issue.
I try to find a solution at the Documents, but I couldn't find it.
Are there other APIs to solve this problem?
I solved it by refactoring catch logic like under code.
As Is.
const promise = new Promise(() => {});
promise.catch(() => {});
promise.then(() => {});
To Be.
let promise = new Promise(() => {});
promise = promise.catch(() => {});
promise.then(() => {});