Major framework upgrade with multiple dependencies and breaking changes.
This issue tracks the upgrade to React 19, involving multiple dependency updates and breaking changes. The work is partially done but requires coordination across several packages and documentation updates. There are known breaking changes that may affect plugin authors, and the upgrade introduces technical debt for Gutenberg Mobile.
This issue serves to track the ongoing work to add support for React 19.
Tasks to do (some might need to be broken down further):
trunk.InserterListbox rendering for React 19: #71410react-test-renderer dependency #71422framer-motion to v11.15.0 #71442useRefEffect hook in favor of native useCallback ref cleanups.useMergeRefs to support ref callback cleanups.While breaking Gutenberg Mobile on trunk doesn't seem to be an ideal next step, it's a necessary one. The WP Mobile project is actively exploring paths forward for the block editor in the mobile apps, aiming to reduce complexity and improve alignment with the Gutenberg web project. There is currently little to no active work on the Gutenberg Mobile project. Therefore, to
Claim this issue to let others know you're working on it. You'll earn 10 points when you complete it!