Skip to content
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

Update react peer dependency ranges to include v19 #1019

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

askoufis
Copy link

@askoufis askoufis commented Jan 21, 2025

Summary

Resolves #1014.

Appends ^19.0.0 to the react peer dependencies in both the @loadable/component and @loadable/server packages. I don't think there's anything about those package's usage of react that would prevent React 19 from being compatible with them.

Test plan

I struggled for a long time trying to get node v12 installed (via mise) as well as installing deps with yarn. Having to install Python 2.x is a pain.

Additionally, I had to replace a reference to what appears to be a private atlassian registry in the lockfile with a reference to the yarnpkg registry.

After a while I gave up on node 12 and ran tests with node 16 (node 18 didn't work either) after manually executing parts of the prepare script. All tests passed on my machine, though the repo is still using React 16 so the tests aren't really a guarantee that React 19 works. I didn't try updating the react dev deps to 19 for fear of more headaches, but happy to try it out if it's deemed necessary to merge this PR.

Overall this was a very unpleasant contribution experience, though in fairness this repo doesn't exactly have regular contributions so it's understandable.

@askoufis askoufis mentioned this pull request Jan 21, 2025
@askoufis askoufis changed the title React 19 peer dep Update react peer dependency ranges to include v19 Jan 21, 2025
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.

React 19?
1 participant