You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(frontend): migrate to React 19 via Module Federation bridge (#2525)
Upgrade Console's frontend from React 18.3.1 to React 19.2.x while keeping
Module Federation working with the React-18 Cloud UI host via
@module-federation/bridge-react.
- shared: {} so the bridge isolates Console's own React 19
- ./BridgeApp expose (createBridgeComponent from /v19); ./App becomes a
React-18-safe legacy shim so the current Cloud UI keeps working with no
host change
- react-beautiful-dnd -> @hello-pangea/dnd (react-redux 7's
unstable_batchedUpdates is removed in React 19)
- framer-motion@7 -> motion/react (React 19 compatible)
- build shims: react-onclickoutside (findDOMNode) and a react-router-dom
alias override to neutralize bridge-react's router hijack
- restore the global JSX namespace for @redpanda-data/ui's bundled
react-markdown@8
- React 19 type fixes via types-react-codemod (scoped JSX, useRef, RefObject)
- pin memoize-one to a typed version (removing react-beautiful-dnd re-hoisted
an untyped memoize-one@4)
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments