My two cents about software engineering.
A tab switch felt tied to an API call. A reduced test showed that synchronous React render work, not the request, delayed the browser's next paint.