Schedules an effect with queueMicrotask
.
useMicrotaskEffect(() => {
console.log('doot doot doot!')
}, [/* effect dependencies */]);
Schedules an effect with queueMicrotask
.
useMicrotaskEffect(() => {
console.log('doot doot doot!')
}, [/* effect dependencies */]);