react-if icon indicating copy to clipboard operation
react-if copied to clipboard

request: Update peer dependencies for react and react-dom to support ^19.0.0

Open xava-dev opened this issue 1 year ago • 1 comments

Is there an existing issue or pull request for this?

  • [X] I have searched the existing issues and pull requests

Feature description

Would appreciate if theĀ peer dependenciesĀ of react and react-dom could be updated to support the latest released React version ^19.0.0

Desired solution

Peer dependenciesĀ of react and react-dom include ^19.0.0

Additional context

No response

xava-dev avatar Jan 03 '25 11:01 xava-dev

FYI you can disable peer dependency checking in your package manager. If I remember correctly npm never really checked it other than giving a warning, same for pnpm, and yarn only did in v1 and if you're still using yarn v1 then upgrade to v4 already.

Anyway the main reason why I held back the renovate PR to do this is because the tests aren't updated for it yet, that is to say, the project itself should also use React 19 in my opinion. Open to PRs for that!

favna avatar Jan 05 '25 12:01 favna

added PR for react 19: https://github.com/romac/react-if/pull/426

Hmve avatar May 26 '25 14:05 Hmve

Released in v4.1.6

favna avatar May 27 '25 20:05 favna