Skip to content

Commit 4b4a149

Browse files
authored
Update hooks-state.md
1 parent 75e8311 commit 4b4a149

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

content/docs/hooks-state.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,7 @@ prev: hooks-overview.html
88

99
*Hook* 是 React 16.8 的新增特性。它可以让你在不编写 class 的情况下使用 state 以及其他的 React 特性。
1010

11-
<<<<<<< HEAD
12-
[上一章节](/docs/hooks-intro.html)中使用下面的例子介绍了 Hook:
13-
=======
14-
The [introduction page](/docs/hooks-intro.html) used this example to get familiar with Hooks:
15-
>>>>>>> b1691780aa3178d39694264863210d34ad5a5f81
11+
[Hook 简介章节](/docs/hooks-intro.html)中使用下面的例子介绍了 Hook:
1612

1713
```js{4-5}
1814
import React, { useState } from 'react';

0 commit comments

Comments
 (0)