Skip to content

Commit

Permalink
docs: ✏️ fix broken links (#363)
Browse files Browse the repository at this point in the history
  • Loading branch information
maoxiaoke authored Aug 17, 2021
1 parent dab8ebc commit 6b558d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/blog/01-icestark-2-5-0.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ hide_table_of_contents: false

#### 1. `<AppRoute />`[path](/docs/api/ice-stark#path) 字段废弃,请使用 [activePath](/docs/api/ice-stark#activepath) 字段。

`activePath`[appConfig](/docs/api/ice-stark#appconfig) 定义的基础字段,除了支持 [path](docs/api/ice-stark#path) 所有配置能力外,还支持函数写法,可自定义路由匹配逻辑:
`activePath`[appConfig](/docs/api/ice-stark#appconfig) 定义的基础字段,除了支持 [path](/docs/api/ice-stark#path) 所有配置能力外,还支持函数写法,可自定义路由匹配逻辑:

```ts
{
Expand Down Expand Up @@ -76,7 +76,7 @@ createMicroApp({

#### 3. 在 `<AppRouter />` 中使用 onLoadingApp、onFinishLoading、onError 等 Hooks

在之前的版本中,使用 `<AppRoute />` 不太方便对微应用执行的各个阶段进行监控或埋点(虽然这些能力均在 [API](docs/api/ice-stark#start) 中支持)。因此,我们也在 `<AppRoute />` 中透出了这些 Hooks。
在之前的版本中,使用 `<AppRoute />` 不太方便对微应用执行的各个阶段进行监控或埋点(虽然这些能力均在 [API](/docs/api/ice-stark#核心-api) 中支持)。因此,我们也在 `<AppRoute />` 中透出了这些 Hooks。

> 更多有关 [对齐 API 和 React Component 使用字段](#对齐-api-和-react-component-使用字段) 可参见 [RFC](https://github.com/ice-lab/icestark/issues/299)
Expand Down

0 comments on commit 6b558d0

Please sign in to comment.