DEV Community

Discussion on: Search as you type at 60fps with js-coroutines

Collapse
 
miketalbot profile image
Mike Talbot ⭐

Hey, totally use another thread when it makes sense. I do. However, moving stuff around in JS is difficult due to the sandboxing. So for instance in my code I do nearly all my processing on a worker thread that can get the data from an IndexedDb database - however, there's a lot of cases where you aren't in your "core" code and then this stuff helps a lot to avoid a glitch.