Skip to content

Update package.json #972

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update package.json #972

wants to merge 1 commit into from

Conversation

zirlman
Copy link

@zirlman zirlman commented Dec 30, 2024

Add support for React 19

@codextremist
Copy link

Can we merge this?

@mattcasey
Copy link

mattcasey commented Jun 4, 2025

If you're running into this issue with npm workspaces, (I have workspace A depends on emoji-mart/react), npm kept installing react@18 inside my workspace's node_modules. I fixed it by deleting the react folder there and also removing the reference to react@18 in my package-lock.json. Super-ugly, will break if i delete package-lock.. but am hoping this gets merged eventually. Having two versions of react installed is a super-confusing "bug" to run into.

@@ -19,7 +19,7 @@
},
"peerDependencies": {
"emoji-mart": "^5.2",
"react": "^16.8 || ^17 || ^18"
"react": "^16.8 || ^17 || ^18 || ^19"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does peer dependencies solve everything?

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.

5 participants