Closed yepitschunked closed 2 years ago
Axios recently added an option to specify whether a request interceptor is synchronous. See https://github.com/axios/axios/pull/2702.
This enables requests to be sent as soon as possible, instead of waiting for unnecessary microtasks to be run (which might be blocked behind other main thread work).
The topic seems interesting, please don't hesitate to create an updated PR in case you think this is still aplicable
Axios recently added an option to specify whether a request interceptor is synchronous. See https://github.com/axios/axios/pull/2702.
This enables requests to be sent as soon as possible, instead of waiting for unnecessary microtasks to be run (which might be blocked behind other main thread work).