Stop turning functions into promises just for async execution - Meet queueMicrotask() If you’ve ever wrapped a function in Promise.resolve().then(...) just to make it run asynchronously, you’re not alone.It’s a common trick and it work, but it’s not ...

Markdown supported · ⌘↵ to post
No responses yet.