Options
All
  • Public
  • Public/Protected
  • All
Menu

Module createUseReduxStore

Index

Functions

createUseReduxStore

  • createUseReduxStore<S, A>(store: Store<S, A>, isEqual?: (a: any, b: any) => boolean): <TProps>(mapStateToProps: (store: S) => TProps, useIsEqual?: (a: TProps, b: TProps) => boolean) => TProps
  • Type parameters

    • S

    • A: Action<any, A>

    Parameters

    • store: Store<S, A>
    • isEqual: (a: any, b: any) => boolean = ...
        • (a: any, b: any): boolean
        • Parameters

          • a: any
          • b: any

          Returns boolean

    Returns <TProps>(mapStateToProps: (store: S) => TProps, useIsEqual?: (a: TProps, b: TProps) => boolean) => TProps

      • <TProps>(mapStateToProps: (store: S) => TProps, useIsEqual?: (a: TProps, b: TProps) => boolean): TProps
      • Type parameters

        • TProps

        Parameters

        • mapStateToProps: (store: S) => TProps
            • (store: S): TProps
            • Parameters

              • store: S

              Returns TProps

        • useIsEqual: (a: TProps, b: TProps) => boolean = ...
            • (a: TProps, b: TProps): boolean
            • Parameters

              • a: TProps
              • b: TProps

              Returns boolean

        Returns TProps

Generated using TypeDoc