Skip to content

connect() is not sending actions to props. #1993

@gustavojuneo

Description

@gustavojuneo

What version of React, ReactDOM/React Native, Redux, and React Redux are you using?

  • React: 18.2.0
  • ReactDOM/React Native: 0.73.6
  • Redux: 4.2.1
  • React Redux: 8.0.5

What is the current behavior?

Before performing the upgrade to expo 48, the HOC connect() passed the values of mapStateToProps and the actions correctly to the component's props, but after performing the libs upgrade apparently there is some incompatibility which causes the actions not to be passed to the component props.

When we try to retrieve the action we get undefined is not a function.
image
image

What is the expected behavior?

I hope the actions are correctly passed as component props.

Which browser and OS are affected by this issue?

Android and IOS

Did this work in previous versions of React Redux?

  • Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions