Skip to main content

IReactViewHost

New Architecture

Kind: interface

EXPERIMENTAL

Used to implement a non-XAML platform ReactRootView.

Properties

ReactNativeHost

readonly ReactNativeHost ReactNativeHost

The ReactNativeHost associated with this ReactViewHost.

Methods

AttachViewInstance

IAsyncAction AttachViewInstance(IReactViewInstance operation)

Attaches IReactViewInstance to the IReactViewHost.

DetachViewInstance

IAsyncAction DetachViewInstance()

Detaches IReactViewInstance from the IReactViewHost.

ReloadViewInstance

IAsyncAction ReloadViewInstance()

Reloads the IReactViewInstance if it is attached.

ReloadViewInstanceWithOptions

IAsyncAction ReloadViewInstanceWithOptions(ReactViewOptions operation)

Reloads IReactViewInstance if it is attached with a new set of options.

UnloadViewInstance

IAsyncAction UnloadViewInstance()

Unloads the attached IReactViewInstance.

Referenced by

Old Architecture

Kind: interface

EXPERIMENTAL

Used to implement a non-XAML platform ReactRootView.

Properties

ReactNativeHost

readonly ReactNativeHost ReactNativeHost

The ReactNativeHost associated with this ReactViewHost.

Methods

AttachViewInstance

IAsyncAction AttachViewInstance(IReactViewInstance operation)

Attaches IReactViewInstance to the IReactViewHost.

DetachViewInstance

IAsyncAction DetachViewInstance()

Detaches IReactViewInstance from the IReactViewHost.

ReloadViewInstance

IAsyncAction ReloadViewInstance()

Reloads the IReactViewInstance if it is attached.

ReloadViewInstanceWithOptions

IAsyncAction ReloadViewInstanceWithOptions(ReactViewOptions operation)

Reloads IReactViewInstance if it is attached with a new set of options.

UnloadViewInstance

IAsyncAction UnloadViewInstance()

Unloads the attached IReactViewInstance.

Referenced by