Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ILocalReducer<TProps, TState>

Type parameters

Hierarchy

  • ILocalReducer

Implemented by

Index

Properties

handleComponentMount

handleComponentMount: function

Type declaration

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

      • component: Component<TProps, TState>

      Returns void

handleComponentUnmount

handleComponentUnmount: function

Type declaration

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

      • component: Component<TProps, TState>

      Returns void

reduceComponents

reduceComponents: function

Type declaration

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

      • state: any
      • action: Action

      Returns void

reducer

reducer: function

Type declaration

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

      • props: TProps
      • state: TState
      • action: any

      Returns TState

Methods

on

onFrom

  • Add reducer for specified action that have fromComponentId === componentId.

    Type parameters

    • TPayload

    Parameters

    Returns this

    this

onOwn

  • Add reducer for specified action that have fromComponentId === componentId.

    Type parameters

    • TPayload

    Parameters

    Returns this

    this

Generated using TypeDoc