• Preparing search index...
  • The search index is not available
@xarc/react-redux
  • @xarc/react-redux
  • browser
  • ReactRedux
  • connect

Function connect

  • connect(): InferableComponentEnhancer<DispatchProp<AnyAction>>
  • Returns InferableComponentEnhancer<DispatchProp<AnyAction>>

    • Defined in common/temp/node_modules/.pnpm/react-redux@8.1.3_91ee3f21853aee6f4038f22086c31182/node_modules/react-redux/es/components/connect.d.ts:78
  • connect<TStateProps, no_dispatch, TOwnProps, State>(mapStateToProps): InferableComponentEnhancerWithProps<TStateProps & DispatchProp<AnyAction>, TOwnProps>
  • mapState only

    Type Parameters

    • TStateProps = {}
    • no_dispatch = {}
    • TOwnProps = {}
    • State = unknown

    Parameters

    • mapStateToProps: MapStateToPropsParam<TStateProps, TOwnProps, State>

    Returns InferableComponentEnhancerWithProps<TStateProps & DispatchProp<AnyAction>, TOwnProps>

    • Defined in common/temp/node_modules/.pnpm/react-redux@8.1.3_91ee3f21853aee6f4038f22086c31182/node_modules/react-redux/es/components/connect.d.ts:78
  • connect<no_state, TDispatchProps, TOwnProps>(mapStateToProps, mapDispatchToProps): InferableComponentEnhancerWithProps<TDispatchProps, TOwnProps>
  • mapDispatch only (as a function)

    Type Parameters

    • no_state = {}
    • TDispatchProps = {}
    • TOwnProps = {}

    Parameters

    • mapStateToProps: null
    • mapDispatchToProps: MapDispatchToPropsNonObject<TDispatchProps, TOwnProps>

    Returns InferableComponentEnhancerWithProps<TDispatchProps, TOwnProps>

    • Defined in common/temp/node_modules/.pnpm/react-redux@8.1.3_91ee3f21853aee6f4038f22086c31182/node_modules/react-redux/es/components/connect.d.ts:78
  • connect<no_state, TDispatchProps, TOwnProps>(mapStateToProps, mapDispatchToProps): InferableComponentEnhancerWithProps<ResolveThunks<TDispatchProps>, TOwnProps>
  • mapDispatch only (as an object)

    Type Parameters

    • no_state = {}
    • TDispatchProps = {}
    • TOwnProps = {}

    Parameters

    • mapStateToProps: null
    • mapDispatchToProps: MapDispatchToPropsParam<TDispatchProps, TOwnProps>

    Returns InferableComponentEnhancerWithProps<ResolveThunks<TDispatchProps>, TOwnProps>

    • Defined in common/temp/node_modules/.pnpm/react-redux@8.1.3_91ee3f21853aee6f4038f22086c31182/node_modules/react-redux/es/components/connect.d.ts:78
  • connect<TStateProps, TDispatchProps, TOwnProps, State>(mapStateToProps, mapDispatchToProps): InferableComponentEnhancerWithProps<TStateProps & TDispatchProps, TOwnProps>
  • mapState and mapDispatch (as a function)

    Type Parameters

    • TStateProps = {}
    • TDispatchProps = {}
    • TOwnProps = {}
    • State = unknown

    Parameters

    • mapStateToProps: MapStateToPropsParam<TStateProps, TOwnProps, State>
    • mapDispatchToProps: MapDispatchToPropsNonObject<TDispatchProps, TOwnProps>

    Returns InferableComponentEnhancerWithProps<TStateProps & TDispatchProps, TOwnProps>

    • Defined in common/temp/node_modules/.pnpm/react-redux@8.1.3_91ee3f21853aee6f4038f22086c31182/node_modules/react-redux/es/components/connect.d.ts:78
  • connect<TStateProps, TDispatchProps, TOwnProps, State>(mapStateToProps, mapDispatchToProps): InferableComponentEnhancerWithProps<TStateProps, TOwnProps>
  • mapState and mapDispatch (nullish)

    Type Parameters

    • TStateProps = {}
    • TDispatchProps = {}
    • TOwnProps = {}
    • State = unknown

    Parameters

    • mapStateToProps: MapStateToPropsParam<TStateProps, TOwnProps, State>
    • mapDispatchToProps: null

    Returns InferableComponentEnhancerWithProps<TStateProps, TOwnProps>

    • Defined in common/temp/node_modules/.pnpm/react-redux@8.1.3_91ee3f21853aee6f4038f22086c31182/node_modules/react-redux/es/components/connect.d.ts:78
  • connect<TStateProps, TDispatchProps, TOwnProps, State>(mapStateToProps, mapDispatchToProps): InferableComponentEnhancerWithProps<TStateProps & ResolveThunks<TDispatchProps>, TOwnProps>
  • mapState and mapDispatch (as an object)

    Type Parameters

    • TStateProps = {}
    • TDispatchProps = {}
    • TOwnProps = {}
    • State = unknown

    Parameters

    • mapStateToProps: MapStateToPropsParam<TStateProps, TOwnProps, State>
    • mapDispatchToProps: MapDispatchToPropsParam<TDispatchProps, TOwnProps>

    Returns InferableComponentEnhancerWithProps<TStateProps & ResolveThunks<TDispatchProps>, TOwnProps>

    • Defined in common/temp/node_modules/.pnpm/react-redux@8.1.3_91ee3f21853aee6f4038f22086c31182/node_modules/react-redux/es/components/connect.d.ts:78
  • connect<no_state, no_dispatch, TOwnProps, TMergedProps>(mapStateToProps, mapDispatchToProps, mergeProps): InferableComponentEnhancerWithProps<TMergedProps, TOwnProps>
  • mergeProps only

    Type Parameters

    • no_state = {}
    • no_dispatch = {}
    • TOwnProps = {}
    • TMergedProps = {}

    Parameters

    • mapStateToProps: null
    • mapDispatchToProps: null
    • mergeProps: MergeProps<undefined, DispatchProp<AnyAction>, TOwnProps, TMergedProps>

    Returns InferableComponentEnhancerWithProps<TMergedProps, TOwnProps>

    • Defined in common/temp/node_modules/.pnpm/react-redux@8.1.3_91ee3f21853aee6f4038f22086c31182/node_modules/react-redux/es/components/connect.d.ts:78
  • connect<TStateProps, no_dispatch, TOwnProps, TMergedProps, State>(mapStateToProps, mapDispatchToProps, mergeProps): InferableComponentEnhancerWithProps<TMergedProps, TOwnProps>
  • mapState and mergeProps

    Type Parameters

    • TStateProps = {}
    • no_dispatch = {}
    • TOwnProps = {}
    • TMergedProps = {}
    • State = unknown

    Parameters

    • mapStateToProps: MapStateToPropsParam<TStateProps, TOwnProps, State>
    • mapDispatchToProps: null
    • mergeProps: MergeProps<TStateProps, DispatchProp<AnyAction>, TOwnProps, TMergedProps>

    Returns InferableComponentEnhancerWithProps<TMergedProps, TOwnProps>

    • Defined in common/temp/node_modules/.pnpm/react-redux@8.1.3_91ee3f21853aee6f4038f22086c31182/node_modules/react-redux/es/components/connect.d.ts:78
  • connect<no_state, TDispatchProps, TOwnProps, TMergedProps>(mapStateToProps, mapDispatchToProps, mergeProps): InferableComponentEnhancerWithProps<TMergedProps, TOwnProps>
  • mapDispatch (as a object) and mergeProps

    Type Parameters

    • no_state = {}
    • TDispatchProps = {}
    • TOwnProps = {}
    • TMergedProps = {}

    Parameters

    • mapStateToProps: null
    • mapDispatchToProps: MapDispatchToPropsParam<TDispatchProps, TOwnProps>
    • mergeProps: MergeProps<undefined, TDispatchProps, TOwnProps, TMergedProps>

    Returns InferableComponentEnhancerWithProps<TMergedProps, TOwnProps>

    • Defined in common/temp/node_modules/.pnpm/react-redux@8.1.3_91ee3f21853aee6f4038f22086c31182/node_modules/react-redux/es/components/connect.d.ts:78
  • connect<TStateProps, no_dispatch, TOwnProps, State>(mapStateToProps, mapDispatchToProps, mergeProps, options): InferableComponentEnhancerWithProps<DispatchProp<AnyAction> & TStateProps, TOwnProps>
  • mapState and options

    Type Parameters

    • TStateProps = {}
    • no_dispatch = {}
    • TOwnProps = {}
    • State = unknown

    Parameters

    • mapStateToProps: MapStateToPropsParam<TStateProps, TOwnProps, State>
    • mapDispatchToProps: null
    • mergeProps: null
    • options: ConnectOptions<State, TStateProps, TOwnProps, {}>

    Returns InferableComponentEnhancerWithProps<DispatchProp<AnyAction> & TStateProps, TOwnProps>

    • Defined in common/temp/node_modules/.pnpm/react-redux@8.1.3_91ee3f21853aee6f4038f22086c31182/node_modules/react-redux/es/components/connect.d.ts:78
  • connect<TStateProps, TDispatchProps, TOwnProps>(mapStateToProps, mapDispatchToProps, mergeProps, options): InferableComponentEnhancerWithProps<TDispatchProps, TOwnProps>
  • mapDispatch (as a function) and options

    Type Parameters

    • TStateProps = {}
    • TDispatchProps = {}
    • TOwnProps = {}

    Parameters

    • mapStateToProps: null
    • mapDispatchToProps: MapDispatchToPropsNonObject<TDispatchProps, TOwnProps>
    • mergeProps: null
    • options: ConnectOptions<{}, TStateProps, TOwnProps, {}>

    Returns InferableComponentEnhancerWithProps<TDispatchProps, TOwnProps>

    • Defined in common/temp/node_modules/.pnpm/react-redux@8.1.3_91ee3f21853aee6f4038f22086c31182/node_modules/react-redux/es/components/connect.d.ts:78
  • connect<TStateProps, TDispatchProps, TOwnProps>(mapStateToProps, mapDispatchToProps, mergeProps, options): InferableComponentEnhancerWithProps<ResolveThunks<TDispatchProps>, TOwnProps>
  • mapDispatch (as an object) and options

    Type Parameters

    • TStateProps = {}
    • TDispatchProps = {}
    • TOwnProps = {}

    Parameters

    • mapStateToProps: null
    • mapDispatchToProps: MapDispatchToPropsParam<TDispatchProps, TOwnProps>
    • mergeProps: null
    • options: ConnectOptions<{}, TStateProps, TOwnProps, {}>

    Returns InferableComponentEnhancerWithProps<ResolveThunks<TDispatchProps>, TOwnProps>

    • Defined in common/temp/node_modules/.pnpm/react-redux@8.1.3_91ee3f21853aee6f4038f22086c31182/node_modules/react-redux/es/components/connect.d.ts:78
  • connect<TStateProps, TDispatchProps, TOwnProps, State>(mapStateToProps, mapDispatchToProps, mergeProps, options): InferableComponentEnhancerWithProps<TStateProps & TDispatchProps, TOwnProps>
  • mapState, mapDispatch (as a function), and options

    Type Parameters

    • TStateProps = {}
    • TDispatchProps = {}
    • TOwnProps = {}
    • State = unknown

    Parameters

    • mapStateToProps: MapStateToPropsParam<TStateProps, TOwnProps, State>
    • mapDispatchToProps: MapDispatchToPropsNonObject<TDispatchProps, TOwnProps>
    • mergeProps: null
    • options: ConnectOptions<State, TStateProps, TOwnProps, {}>

    Returns InferableComponentEnhancerWithProps<TStateProps & TDispatchProps, TOwnProps>

    • Defined in common/temp/node_modules/.pnpm/react-redux@8.1.3_91ee3f21853aee6f4038f22086c31182/node_modules/react-redux/es/components/connect.d.ts:78
  • connect<TStateProps, TDispatchProps, TOwnProps, State>(mapStateToProps, mapDispatchToProps, mergeProps, options): InferableComponentEnhancerWithProps<TStateProps & ResolveThunks<TDispatchProps>, TOwnProps>
  • mapState, mapDispatch (as an object), and options

    Type Parameters

    • TStateProps = {}
    • TDispatchProps = {}
    • TOwnProps = {}
    • State = unknown

    Parameters

    • mapStateToProps: MapStateToPropsParam<TStateProps, TOwnProps, State>
    • mapDispatchToProps: MapDispatchToPropsParam<TDispatchProps, TOwnProps>
    • mergeProps: null
    • options: ConnectOptions<State, TStateProps, TOwnProps, {}>

    Returns InferableComponentEnhancerWithProps<TStateProps & ResolveThunks<TDispatchProps>, TOwnProps>

    • Defined in common/temp/node_modules/.pnpm/react-redux@8.1.3_91ee3f21853aee6f4038f22086c31182/node_modules/react-redux/es/components/connect.d.ts:78
  • connect<TStateProps, TDispatchProps, TOwnProps, TMergedProps, State>(mapStateToProps, mapDispatchToProps, mergeProps, options?): InferableComponentEnhancerWithProps<TMergedProps, TOwnProps>
  • mapState, mapDispatch, mergeProps, and options

    Type Parameters

    • TStateProps = {}
    • TDispatchProps = {}
    • TOwnProps = {}
    • TMergedProps = {}
    • State = unknown

    Parameters

    • mapStateToProps: MapStateToPropsParam<TStateProps, TOwnProps, State>
    • mapDispatchToProps: MapDispatchToPropsParam<TDispatchProps, TOwnProps>
    • mergeProps: MergeProps<TStateProps, TDispatchProps, TOwnProps, TMergedProps>
    • Optional options: ConnectOptions<State, TStateProps, TOwnProps, TMergedProps>

    Returns InferableComponentEnhancerWithProps<TMergedProps, TOwnProps>

    • Defined in common/temp/node_modules/.pnpm/react-redux@8.1.3_91ee3f21853aee6f4038f22086c31182/node_modules/react-redux/es/components/connect.d.ts:78

Settings

Member Visibility

Theme

@xarc/react-redux
  • Loading...

Generated using TypeDoc