You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know it's a bit early, and the latest React 19 is still a RC, but things are moving on, Next released v15 with a dependency, and it would be nice if PayPal's React library supports it sooner than later.
Motivation
There might be some issues or changes required in order to support React 19. Shouldn't be, but still. The sooner someone tests that and confirms the library can support the newest React - the better.
Thanks!
The text was updated successfully, but these errors were encountered:
We are in the process of upgrading our project to React v19, but have encountered an issue with the react-paypal-js package. The current version of react-paypal-js (v8.7.0) does not explicitly support React v19, and as a result, we're getting the following error when trying to install dependencies:
Error log:
npm error Could not resolve dependency:
npm error peer react@"^16.8.0 || ^17.0.0 || ^18.0.0" from @paypal/[email protected]
Steps to Reproduce:
Upgrade the project to React v19.
Attempt to install dependencies using npm install or yarn install.
Observe the error regarding the peer dependency mismatch.
Can you please provide an update for react-paypal-js to support React v19?
🚀 Prepare for React 19 support
I know it's a bit early, and the latest React 19 is still a RC, but things are moving on, Next released v15 with a dependency, and it would be nice if PayPal's React library supports it sooner than later.
Motivation
There might be some issues or changes required in order to support React 19. Shouldn't be, but still. The sooner someone tests that and confirms the library can support the newest React - the better.
Thanks!
The text was updated successfully, but these errors were encountered: