Skip to content

Commit

Permalink
fix japanese docs
Browse files Browse the repository at this point in the history
  • Loading branch information
KobayashiYoh committed Sep 9, 2024
1 parent 98746c7 commit 3e32efa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ class FadeIn extends HookWidget {

Hooks には独自の制約があります:

- これらは、[HookWidget]を継承(extends)したウィジェットのbuildメソッド内でのみ使用できます:
- [HookWidget]을 확장(extends)하는 위젯의 `build` 메서드 내에서만 사용할 수 있습니다:

**Good**:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Riverpod では、この例外は発生しません。

### 状態の破棄が難しい

`InheritedWidget` は、consumer が listen を停止したときに反応できません。
`InheritedWidget` は、consumer が listen を停止したときに反応できません。
このため、Provider は provider の状態を自動的に破棄することができません。
Provider では、状態が使用されなくなったときにそれを破棄するために provider をスコープする必要がありますが、
これはページ間で状態を共有する場合に特に難しくなります。
Expand Down

0 comments on commit 3e32efa

Please sign in to comment.