public final class SchedulerUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
pauseUntilRenderLoopComplete()
The first time an arez component is rendered it will lock the Arez scheduler and release
the lock in the micro-task immediately following the task that prompted the render.
|
public static void pauseUntilRenderLoopComplete()
NOTE: While render methods are read-only transactions, they can un-observe components with
ArezComponent.disposeOnDeactivate()
set to true
that would result in the component
being disposed and triggering an update that would mark particular React Components/Observers as STALE and
trigger a re-render of that component.