Skip to content

Comments

[_]: chore/update react version from peer dependencies#78

Open
xabg2 wants to merge 2 commits intomasterfrom
chore/bump-react-version
Open

[_]: chore/update react version from peer dependencies#78
xabg2 wants to merge 2 commits intomasterfrom
chore/bump-react-version

Conversation

@xabg2
Copy link
Collaborator

@xabg2 xabg2 commented Feb 20, 2026

Update peerDependencies to support React v18 and v19, and fix the Vite build config to ensure React is not bundled into the library output.

Consumer projects using React 19 were getting a runtime crash (Cannot read properties of undefined (reading 'ReactCurrentDispatcher')) caused by multiple React instances being loaded. The root cause was React being bundled inside the library instead of being resolved from the consumer project. We had to update the rollup options to fix this issue when linking the package for testing purposes.

@xabg2 xabg2 requested review from CandelR and larryrider February 20, 2026 08:42
@xabg2 xabg2 self-assigned this Feb 20, 2026
@xabg2 xabg2 added the bug Something isn't working label Feb 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants