-
-
Notifications
You must be signed in to change notification settings - Fork 388
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
base: main
Are you sure you want to change the base?
Conversation
react
peer dependency ranges to include v19
@theKashey Apologies for the tag. Would appreciate a review on this hopefully uncontroversial PR. Thank you in advance :) |
@askoufis @theKashey has this been validated as the only required fix for supporting React 19? My team is being impacted by this as we need to move to React 19. Is loadable abandoned and should I consider it deprecated? |
@gregberge curious in the absence of response from others if you know whether loadable should be considered abandoned / deprecated? It's impacting my team where we use it in an embedded runtime |
@gregberge @theKashey Would appreciate a review of this PR. It's only 3 lines and should be fairly straightforward. I'm not 100% certain that everything works with React 19, so happy put some more effort into increasing that certainty if it's of any concern. |
Time to fork?... |
For me this is mainly an optics issue. We maintain a CLI tool that scaffolds web applications. We depend on loadable-components, and would simply prefer not to have React 19 peer dependency warnings showing up during installation. I don't think it warrants a fork. |
@theKashey @gregberge Could you help us, plx! |
can we merge this please? |
Summary
Resolves #1014.
Appends
^19.0.0
to thereact
peer dependencies in both the@loadable/component
and@loadable/server
packages. I don't think there's anything about those package's usage ofreact
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.