From attached timeline recorded from an Electron App, is it possible that the async requests block/impact UI thread? Is there any solution for this?
Question updated.
From attached timeline recorded from an Electron App, is it possible that the async requests block/impact UI thread? Is there any solution for this?
Question updated.
Copyright © 2021 Jogjafile Inc.
Use
defer
instead ofasync
. Ifasync
scripts get downloaded first, they can still block rendering since they will get executed before non-async scripts. You can read a much more in depth examination about this here: http://calendar.perfplanet.com/2016/prefer-defer-over-async/