Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LocalReducer<TProps, TState>

Type parameters

Hierarchy

  • LocalReducer

Implements

Index

Constructors

constructor

Properties

Private actionReducerList

actionReducerList: ILocalActionList<TProps, TState>

Private components

components: Array<Component<TProps, TState>>

Methods

handleComponentMount

  • handleComponentMount(component: Component<TProps, TState>): void

handleComponentUnmount

  • handleComponentUnmount(component: Component<TProps, TState>): void

Private logActionInfo

on

onFrom

  • onFrom<TPayload>(componentId: string, __namedParameters: object, reducer: LocalActionReducer<TProps, TState, TPayload>): this
  • Type parameters

    • TPayload

    Parameters

    • componentId: string
    • __namedParameters: object
      • type: any
    • reducer: LocalActionReducer<TProps, TState, TPayload>

    Returns this

onOwn

  • onOwn<TPayload>(__namedParameters: object, reducer: LocalActionReducer<TProps, TState, TPayload>): this

reduceComponents

  • reduceComponents(state: any, action: Action): void

reducer

  • reducer(props: TProps, state: TState, action: Action): any
  • Parameters

    • props: TProps
    • state: TState
    • action: Action

    Returns any

Generated using TypeDoc