Skip to content

MBS-13716: Upgrade React to v19#3345

Closed
mwiencek wants to merge 2 commits intometabrainz:masterfrom
mwiencek:react-19
Closed

MBS-13716: Upgrade React to v19#3345
mwiencek wants to merge 2 commits intometabrainz:masterfrom
mwiencek:react-19

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.
@mwiencek
Copy link
Member Author

This is now included as part of #3621, which was blocking the upgrade.

@mwiencek mwiencek closed this Aug 29, 2025
@mwiencek mwiencek deleted the react-19 branch August 29, 2025 15:29
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