FluidContextState Interface

Packages > @fluidframework/react > FluidContextState

The state that is available through the react context

Signature:

export interface FluidContextState<SV extends IViewState, C> 

Properties

List of properties of this interface
Property Type Description
reactContext Partial The context passed in from the props
setState (state: SV) => void Callback to update the state
state SV The view state

Events

reactContext

The context passed in from the props

Signature:

reactContext: Partial<C>;

setState

Callback to update the state

Signature:

setState: (state: SV) => void;

state

The view state

Signature:

state: SV;