Legacy RequireJS widgets
RequireJS micro frontends build each widget as an AMD bundle. Shared libraries like React and a UI kit are built into a common web package (CWP), and widgets consume it through webpack externals. Many widgets from many teams depend on the same CWP, so updating its versions is near impossible, and the codebase is too large to move to federation in one shot. Here the CWP is a FynApp that serves React and the UI kit from federation to the unchanged bundles. Two sets of the same widgets run side by side, each on the legacy CWP or the federated one. Ordinary FynApps on the same page share that React or bring another major.
What to try
- Put each set of widgets on the legacy CWP or the federated one, with React 18 or React 19
- Load Team C on demand and see which files it fetches
- Check the React instances table to see which app uses which copy