From 95693a951b0a18d8941345a32543d8b6f76c8e60 Mon Sep 17 00:00:00 2001 From: David Festal Date: Mon, 15 Dec 2025 19:08:16 +0100 Subject: [PATCH] Complete docs Signed-off-by: David Festal --- docs/frontend-system/building-apps/07-module-federation.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/frontend-system/building-apps/07-module-federation.md b/docs/frontend-system/building-apps/07-module-federation.md index 2a75163790..8b11e6c245 100644 --- a/docs/frontend-system/building-apps/07-module-federation.md +++ b/docs/frontend-system/building-apps/07-module-federation.md @@ -114,7 +114,8 @@ export async function loadRemote( ### Integration with Feature Loaders -Integration with frontend feature loaders is straightforward: +Standard Module Federation runtime API integrates very well with frontend feature loaders, +as shown in the example below: ```typescript title="packages/app/src/App.tsx" import { createInstance } from '@module-federation/enhanced/runtime'; @@ -166,7 +167,9 @@ const app = createApp({ export default app.createRoot(); ``` -The [`dynamicFrontendFeaturesLoader`](https://github.com/backstage/backstage/blob/master/packages/frontend-dynamic-feature-loader/src/loader.ts) provided in the [`@backstage/frontend-dynamic-feature-loader`](https://github.com/backstage/backstage/blob/master/packages/frontend-dynamic-feature-loader/README.md) package, which provides an integrated solution to load module federation remotes as dynamic frontend plugins, is a more complete example of a feature loader based on the module federation support. +Note that, on top of the standard API, we plan to provide a more simplified way to configure module federation remotes. + +Additionally, the [`dynamicFrontendFeaturesLoader`](https://github.com/backstage/backstage/blob/master/packages/frontend-dynamic-feature-loader/src/loader.ts) provided in the [`@backstage/frontend-dynamic-feature-loader`](https://github.com/backstage/backstage/blob/master/packages/frontend-dynamic-feature-loader/README.md) package, which provides an integrated solution to load module federation remotes as dynamic frontend plugins, is a more complete example of a feature loader based on the module federation support. ## Default Shared Dependencies