IFluidSelector Interface

Packages > @fluidframework/react > IFluidSelector

The Fluid selector, containing an object that is keyed by function name and contains selector functions. Each function will have the view state, fluid state, and data props passed into it as parameters in the combined state. Selector functions can also optionally pass in a handle to fetch from the Fluid object map. Selector functions are used to retrieve Fluid objects or parameters from other Fluid objects. It offers a way to fetch these values and return them to the view, with the Fluid object map being updated if the view requires a Fluid object that hasn’t been locally loaded yet


export interface IFluidSelector<SV extends IViewState, SF extends IFluidState, C extends IFluidDataProps>