by jasonjmcghee · 4y ago · 0 comments
Say you need to call a few rest apis that trigger changes to the DOM. If the user is actively interacting with your application, doing an operation like this, say every 5 seconds, could cause momentary lag that feels bad. What if you could wait to do the update until the main thread is free?
If it isn't, how is this different than async operations?