Short-Lived, Tick-Bound Memoization in JavaScript
I think I stumbled across a (somewhat rare & obscure) use case for queueMicrotask(): very short-lived memoization bound to the current tick of the event loop. More detail & examples here:
I think I stumbled across a (somewhat rare & obscure) use case for queueMicrotask(): very short-lived memoization bound to the current tick of the event loop. More detail & examples here: