IFluidSyncedCounterReducer Interface

Packages > @fluidframework/react > IFluidSyncedCounterReducer

The underlying reducer interface passed to the useReducerFluid hook to bind the view and Fluid state definitions together

Signature:

export interface IFluidSyncedCounterReducer<SV extends IViewState, SF extends IFluidState> extends IFluidReducer<SV, SF, IFluidDataProps> 

Extends: IFluidReducer<SV, SF, IFluidDataProps>

Properties

List of properties of this interface
Property Type Description
increment FluidStateUpdateFunctionIFluidDataProps>

Events

increment

Signature:

increment: FluidStateUpdateFunction<SV, SF, IFluidDataProps>;