Skip to content

Commit

Permalink
Merge branch 'master' into translate/react-dom-server
Browse files Browse the repository at this point in the history
  • Loading branch information
koba04 authored Feb 23, 2019
2 parents f5a9c48 + 671a685 commit 3668084
Show file tree
Hide file tree
Showing 2 changed files with 177 additions and 178 deletions.
4 changes: 2 additions & 2 deletions content/docs/hooks-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ React は `useState` のような幾つかのビルトインのフックを提
>
> ステートフックについてはこちらのページを参照してください:[ステートフックの利用法](/docs/hooks-state.html).
## ⚡️ 副作用フック {#️effect-hook}
## ⚡️ 副作用フック {#effect-hook}

これまでに React コンポーネントの内部から、外部データの取得や購読、あるいは手動での DOM 更新を行ったことがおありでしょう。これらの操作は他のコンポーネントに影響することがあり、またレンダーの最中に実行することができないので、われわれはこのような操作を "副作用 (side-effects)"、あるいは省略して "作用 (effects)" と呼んでいます。

Expand Down Expand Up @@ -159,7 +159,7 @@ function FriendStatusWithCounter(props) {
>
> `useEffect` についての更なる詳細は[副作用フックの利用法](/docs/hooks-effect.html)を参照してください。
## ✌️ フックのルール {#️rules-of-hooks}
## ✌️ フックのルール {#rules-of-hooks}

フックは JavaScript の関数ですが、2 つの追加のルールがあります。

Expand Down
Loading

0 comments on commit 3668084

Please sign in to comment.