Skip to content

React 19 support #691

@bisswanger

Description

@bisswanger

Provide a general summary of the feature here

react-spectrum S2 has been released as final release 1.0.0
While we have it working with React 18, it specifies a React 19 peerDependency

Trying to upgrade to React 19 currently fails using react-spectrum-charts. (when removing all charts, our app is working fine using react 19)

We are seeing following error

can't access property "ReactCurrentOwner", r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED is undefined
Image

Sample app: https://codesandbox.io/p/devbox/dreamy-forest-5xznfn?workspaceId=ws_PJMVTLBF2sFf3JU499oLDQ

🤔 Expected Behavior?

supporting react 19

💁 Possible Solution

No response

🔦 Context

embedding react-spectrum-charts together with react-spectrum/s2 in a react 19 application

💻 Examples

No response

🧢 Your Company/Team

Adobe/AEM

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