Skip to main content
Version: 0.84

CompositionUIService

Kind: class

EXPERIMENTAL

Provides access to Composition UI-specific functionality.

Methods​

ComponentFromReactTag​

static ComponentView ComponentFromReactTag(IReactContext context, int64_t reactTag)

EXPERIMENTAL

Gets the ComponentView from a react tag.

GetCompositor​

static Compositor GetCompositor(IReactPropertyBag properties)

EXPERIMENTAL

Gets the Compositor used by this ReactNative instance.

SetCompositor​

static void SetCompositor(ReactInstanceSettings settings, Compositor compositor)

EXPERIMENTAL

Configures the react instance to use the provided Compositor. Setting this will opt into using the new architecture