Skip to content

remix/ui · Function

View Source

createScheduler

Summary

Creates the DOM update scheduler used by the component runtime.

Signature

function createScheduler(doc: Document, rootTarget: EventTarget, styles: StyleManager): Scheduler

Parameters

doc

Document associated with the rendered tree.

rootTarget

Event target that receives runtime errors.

styles

Style manager used during reconciliation.

Returns

A scheduler instance.