Skip to content

'Provider' cannot be used as a JSX component #1886

Closed

Description

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

  • React: 16.13.1
  • ReactDOM: 16.13.1
  • Redux: 4.0.5
  • React Redux: 7.2.1

What is the current behavior?

get this error when i try to run:
'Provider' cannot be used as a JSX component'

I think it has to do with new @react/types v18

What is the expected behavior?

no error

Which browser and OS are affected by this issue?

all

Did this work in previous versions of React Redux?

  • Yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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