Skip to content

Commit

Permalink
Merge pull request #2 from alibaba/docs/fix-link
Browse files Browse the repository at this point in the history
docs: fix link
  • Loading branch information
brickspert authored Jun 8, 2020
2 parents 2e21e16 + a1d2322 commit e25ce2c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions docs/docs/umi-hooks-to-ahooks.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ ahooks is version 2.0 of Umi Hooks. This document will help you quickly upgrade

- Added 3 Hooks
- 6 abandoned Hooks in Umi Hooks were deleted
- Formulated [API specification](http://localhost:8000/zh-CN/docs/api), upgraded the Hooks API
- Formulated [API specification](/docs/api), upgraded the Hooks API
- All DOM class Hooks no longer return ref
- Some Hooks are incompatible with upgrades

## Upgrade details

### Add

- Added [useFusionTable](http://localhost:8000/zh-CN/hooks/table/use-fusion-table)
- Added [useDebounceEffect](http://localhost:8000/zh-CN/hooks/life-cycle/use-debounce-effect)
- Added [useThrottleEffect](http://localhost:8000/zh-CN/hooks/life-cycle/use-throttle-effect)
- Added [useFusionTable](/hooks/table/use-fusion-table)
- Added [useDebounceEffect](/hooks/life-cycle/use-debounce-effect)
- Added [useThrottleEffect](/hooks/life-cycle/use-throttle-effect)

### Delete
The deleted 6 Hooks can be replaced by useRequest
Expand Down Expand Up @@ -69,4 +69,4 @@ The deleted 6 Hooks can be replaced by useRequest
- useHover
- API upgrade, and no longer return ref 
- useKeyPress
- API upgrade, and no longer return ref
- API upgrade, and no longer return ref
8 changes: 4 additions & 4 deletions docs/docs/umi-hooks-to-ahooks.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ ahooks 是 Umi Hooks 的 2.0 版本,本文档将帮助你快速的从 Umi Hook

- 新增了 3 个 Hooks
- 删除了 Umi Hooks 中废弃的 6 个 Hooks
- 制定了 [API 规范](http://localhost:8000/zh-CN/docs/api),对 Hooks 进行了 API 升级
- 制定了 [API 规范](docs/api),对 Hooks 进行了 API 升级
- 所有的 DOM 类 Hooks 不再返回 ref
- 部分 Hooks 不兼容升级

## 升级详情

### 新增

- 新增了 [useFusionTable](http://localhost:8000/zh-CN/hooks/table/use-fusion-table)
- 新增了 [useDebounceEffect](http://localhost:8000/zh-CN/hooks/life-cycle/use-debounce-effect)
- 新增了 [useThrottleEffect](http://localhost:8000/zh-CN/hooks/life-cycle/use-throttle-effect)
- 新增了 [useFusionTable](hooks/table/use-fusion-table)
- 新增了 [useDebounceEffect](hooks/life-cycle/use-debounce-effect)
- 新增了 [useThrottleEffect](hooks/life-cycle/use-throttle-effect)

### 删除

Expand Down

0 comments on commit e25ce2c

Please sign in to comment.