Skip to content

Peer dependency error when upgrading react and react-dom to react 19 (Nextjs 15) #3538

@franckadil

Description

@franckadil

What package within Headless UI are you using?

What version of that package are you using?

@headlessui/react: "^2.1.10"

Describe your issue

Upgrading to next.js 15 with the minimum version of react and react-dom that is now 19 I get a peer dependency error that breaks the upgrade. headlessui requires react 18.

Metadata

Metadata

Assignees

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