feat: Add support React 19 - #1008
Open
dinhsan2000 wants to merge 1 commit into
Open
Conversation
This was referenced Aug 23, 2026
lesnik512
added a commit
to quotidianlabs/emojis
that referenced
this pull request
Aug 24, 2026
Widen the wrapper's react peer range to ^16.8 || ^17 || ^18 || ^19. Installing it alongside React 19 no longer produces a peer dependency conflict, so consumers need neither an overrides block nor --legacy-peer-deps. This is what Upstream issue missive#967 has been asking for since December 2024, and Upstream PR missive#1008 is the same one-line change, open and unmerged. No code changed, and none was needed. From React the wrapper takes only React, useEffect and useRef and calls createElement; React 19 removed none of them, and core renders through Preact without importing React at all. A patch rather than a minor, deliberately. Caret ranges collapse below 1.0, so a consumer on ^0.1.1 resolves 0.1.2 and would never have resolved 0.2.0. The people this release exists for are the ones already installing the wrapper behind an overrides block; a minor would have left them editing a range by hand to get it. The proof is the release gate, whose scratch application now installs React 19 rather than 18: the tarballs install with no ERESOLVE, npm ls reports no unmet peers, types resolve under @types/react 19, and the picker mounts and records a selection in a real browser. The gate installs one React version at a time, so 16.8, 17 and 18 are now declared without being exercised. Before the range widened, the same gate failed at install with exactly the conflict issue missive#967 describes. Also folds in the npm pkg fix that ADR-0003 earmarked for this package's next release: repository.url is normalised to the git+https://….git form npm rewrites it to on publish anyway. Closes #4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request makes a small update to the peer dependencies in the
packages/emoji-mart-react/package.jsonfile to ensure compatibility with the latest version of React.reactpeer dependency version range was extended to include React 19, allowing the package to be used with the upcoming major release.Missive conversation: https://mail.missiveapp.com/#inbox/conversations/46dc781a-45ef-46a9-a7b8-2c21e8e9ea53