Skip to content

React 19 Support #3102

@jamesnw

Description

@jamesnw

I attempted to install the react-shepherd module in my React 19 project, and after using npm i react-shepherd --force to overcome the "react": "^18.2.0", peerDependency, I am getting the following error-

Uncaught TypeError: Cannot read properties of undefined (reading 'ReactCurrentDispatcher')

The code throwing here is var bt = _.ReactCurrentDispatcher, yt;

The _ is defined as var _ = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;, which has been renamed in React 19.

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