I find using async DOM APIs without promise support a bit awkward. I always have to wrap them with `new Promise(…)`. Recently, I found `Promise.withResolvers()` simpler and more readable to use. What do you think?
1 likes 0 replies
?
I find using async DOM APIs without promise support a bit awkward. I always have to wrap them with `new Promise(…)`. Recently, I found `Promise.withResolvers()` simpler and more readable to use. What do you think?
1 likes 0 replies