3 ms·
Sharing the UI thread with logic is something to be mitigated when building UIs, it's not a feature.
by heavyset_go 6y ago
Sharing the UI thread with logic is something to be mitigated when building UIs, it's not a feature.
- davedx 6y agoIn theory, maybe. In practice, your UI thread very rarely has to do the kind of heavy lifting that would block it so badly you actually have problems. I have encountered this -- for example parsing very large incoming JSON payloads -- but very rarely. And if you really need to mitigate it, there are webworkers.