Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
| ------------- | ----------- |
| React 19 | `@module-federation/bridge-react/v19` |
| React 18 | `@module-federation/bridge-react/v18` |
| React 16 / 17 | `@module-federation/bridge-react/react` |
| React 16 / 17 | `@module-federation/bridge-react` |

:::warning Important

Expand All @@ -56,8 +56,8 @@ shared: {

| API | Description | Import Path |
| -------------------------- | --------------------------------------------------------------------------------------------------- | ---------------------------------------- |
| `createRemoteAppComponent` | Loads and renders a remote Bridge component in the host, automatically handling rendering context and router integration | `@module-federation/bridge-react/react` |
| `lazyLoadComponentPlugin` | Prefetch and lazy-loading plugin | `@module-federation/bridge-react/react` |
| `createRemoteAppComponent` | Loads and renders a remote Bridge component in the host, automatically handling rendering context and router integration | `@module-federation/bridge-react` |
| `lazyLoadComponentPlugin` | Prefetch and lazy-loading plugin | `@module-federation/bridge-react/lazy-load-component-plugin` |

### 💡 Examples

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
| ------------- | ----------- |
| React 19 | `@module-federation/bridge-react/v19` |
| React 18 | `@module-federation/bridge-react/v18` |
| React 16 / 17 | `@module-federation/bridge-react/react` |
| React 16 / 17 | `@module-federation/bridge-react` |

:::warning Important

Expand All @@ -56,8 +56,8 @@ shared: {

| API | Description | Importe Caminho |
| -------------------------- | --------------------------------------------------------------------------------------------------- | ---------------------------------------- |
| `createRemoteAppComponent` | Carrega e renders uma remote Bridge componente em o host, automatically handling rendering context e router integração | `@module-federation/bridge-react/react` |
| `lazyLoadComponentPlugin` | Pré-busca e lazy-carregamento plugin | `@module-federation/bridge-react/react` |
| `createRemoteAppComponent` | Carrega e renders uma remote Bridge componente em o host, automatically handling rendering context e router integração | `@module-federation/bridge-react` |
| `lazyLoadComponentPlugin` | Pré-busca e lazy-carregamento plugin | `@module-federation/bridge-react/lazy-load-component-plugin` |

### 💡 Exemplos

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
|---------|---------|
| React 19 | `@module-federation/bridge-react/v19` |
| React 18 | `@module-federation/bridge-react/v18` |
| React 16 / 17 | `@module-federation/bridge-react/react` |
| React 16 / 17 | `@module-federation/bridge-react` |

:::warning 重要

Expand All @@ -57,8 +57,8 @@ shared: {

| API | 描述 | 导入路径 |
|-----|------|----------|
| `createRemoteAppComponent` | 在宿主中加载并渲染远程 Bridge 组件,自动处理渲染上下文与路由集成 | `@module-federation/bridge-react/react` |
| `lazyLoadComponentPlugin` | 预取与懒加载插件 | `@module-federation/bridge-react/react` |
| `createRemoteAppComponent` | 在宿主中加载并渲染远程 Bridge 组件,自动处理渲染上下文与路由集成 | `@module-federation/bridge-react` |
| `lazyLoadComponentPlugin` | 预取与懒加载插件 | `@module-federation/bridge-react/lazy-load-component-plugin` |

### 💡 示例

Expand Down