[RAC] React 19 peer dependency issue with @react-aria/collections #7583
Open
Description
Provide a general summary of the issue here
While upgrading a project with [email protected]
to React 19, I received the following warning from pnpm:
WARN Issues with peer dependencies found
.
└─┬ react-aria-components 1.5.0
└─┬ @react-aria/collections 3.0.0-alpha.6
└─┬ use-sync-external-store 1.2.2
└── ✕ unmet peer react@"^16.8.0 || ^17.0.0 || ^18.0.0": found 19.0.0
🤔 Expected Behavior?
No peer dependency warnings with React 19, since react-aria-components
accepts v19 in its peer dependency list.
😯 Current Behavior
Peer dependency warning when using React 19 with react-aria-components
.
💁 Possible Solution
Updating the use-sync-external-store
version to 1.4.0 in
🔦 Context
No response
🖥️ Steps to Reproduce
- Create a new project with pnpm, React 19, and React Aria Components 1.5.0
- Run
pnpm install
Version
react-aria-components 1.5.0
What browsers are you seeing the problem on?
Other
If other, please specify.
Package manager
What operating system are you using?
macOS 15.1.1
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response