Skip to content

chore: move react/react-dom to peerDependencies - #427

Open
mbj36 wants to merge 2 commits into
mainfrom
mbj36/react19-peers
Open

chore: move react/react-dom to peerDependencies#427
mbj36 wants to merge 2 commits into
mainfrom
mbj36/react19-peers

Conversation

@mbj36

@mbj36 mbj36 commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Same change as the ddoc PR: react/react-dom were in dependencies, which under a react 19 consumer would nest a second react 18 copy (invalid hook calls). Moved to peerDependencies (^18 || ^19), re-added to devDependencies for local dev — matching the existing yjs pattern. Vite build already externalizes react; dist unchanged.

Bumps version to 4.1.0 for the release workflow. No merge-order dependency — the ui dep range (^5.1.9) tolerates the upcoming ui 5.3.0.

Part of the react 19 / next 16 upgrade track.

@vercel

vercel Bot commented Aug 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
fileverse-dsheet Ready Ready Preview Aug 13, 2026 6:39am

Request Review

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant