Skip to content

MBS-13716: Upgrade React to v19 #3345

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

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

Conversation

mwiencek
Copy link
Member

https://react.dev/blog/2024/04/25/react-19
https://react.dev/blog/2024/04/25/react-19-upgrade-guide

It seems that a new version of the react-dom libdefs have not been published to flow-typed yet. I simply moved the existing v18 file and removed all removed functions. I didn't add any of the new functions (we don't use them yet).

--

I'd primarily like to perform this upgrade now in order to use the new react-compiler.

@mwiencek mwiencek force-pushed the react-19 branch 2 times, most recently from 41d806a to f5c4131 Compare August 21, 2024 19:02
@mwiencek mwiencek changed the title MBS-13716: Upgrade React to v19 RC MBS-13716: Upgrade React to v19 Apr 11, 2025
https://react.dev/blog/2024/04/25/react-19
https://react.dev/blog/2024/04/25/react-19-upgrade-guide

It seems that a new version of the react-dom libdefs have not been published to
flow-typed yet. I simply moved the existing v18 file and removed all removed
functions. I didn't add any of the new functions (we don't use them yet).

A strange failure occurs in External_Links_Editor.json5 with this upgrade;
typing long URLs too quickly seems to trigger "Maximum update depth exceeded"
within React. I can't reproduce it by hand, so I'm just updating the test to
use `setInputValueForReact` to simulate pasting the URL.
The 3.x version doesn't work at all with our Selenium TAP output for some
reason. It just outputs nothing. 5.0.4 works fine.
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.

1 participant