Skip to content 

@fluidframework/view-interfaces Package

Packages > @fluidframework/view-interfaces

Interfaces

List of interfaces contained in this package or namespace
Interface Description
IFluidHTMLOptions
IFluidHTMLView An IFluidHTMLView is a renderable object, which may or may not also be its own model. If it is its own model, it is a "thick" view, otherwise it is a "thin" view.
IFluidMountableView An IFluidMountableView provides a view bundled with a mounting mechanism. That view can be mounted and unmounted from a given element. This bundling of view + mounting mechanism is important for React, which needs the same React instance to be used for the mounting ReactDOM.render() call as the Fluid object it's mounting, or else React hooks don't work. This is the case in scenarios like webpack-fluid-loader, which attempts to do cross-bundle mounting.This is not intended to be used as a general rendering/mounting approach, but rather as just a specific solution for cross-bundle mounting. General rendering/mounting should instead use the view adapters or make direct calls to framework-specific rendering APIs.
IFluidMountableViewClass IFluidMountableViewClass defines the statics on our class implementing IFluidMountableView.
IProvideFluidHTMLView
IProvideFluidMountableView

Variables

List of variables contained in this package or namespace
Variable Description
IFluidHTMLView
IFluidMountableView

Variables

IFluidHTMLView

Signature:

IFluidHTMLView: keyof IProvideFluidHTMLView

IFluidMountableView

Signature:

IFluidMountableView: keyof IProvideFluidMountableView