검색 결과: "#microtaskqueue"

5 개 결과
DevBytes
DevBytes@DevBytesApp·
#MicrotaskQueue Microtasks, like Promises and process.nextTick, have their own queue. They have higher priority and get executed before the callback queue.
English
1
0
1
5
React Advanced Conference
React Advanced Conference@ReactAdvanced·
Some weeks ago, @Cadienvan, Full-Stack Dev, created a signal system updating the #DOM 300k times in about 600ms. Using the #MicrotaskQueue⏱️, Michael slashed it to 6ms, effectively improving performances by 100x. Join to learn how it optimizes DOM updates through the Event Loop.
English
0
4
48
157.2K
Linnn
Linnn@linzhangcs·
Day 48 of #100DaysOfCode learned from #JSTheHardParts about the microtask queue. The most common scenario is promises .then() handler executes and enqueues the #microtaskqueue. Why does it matter? Because it affects the order of execution - microtasks go before macrotasks
Linnn tweet media
English
1
1
6
0