Skip to content

Commit d615c5b

Browse files
authored
Merge pull request #1317 from tusharkhatiwada/typo-hooks-faq
Small typo fix
2 parents 737d007 + a531a0f commit d615c5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/docs/hooks-faq.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ There are a few more heuristics, and they might change over time as we fine-tune
192192

193193
### How do lifecycle methods correspond to Hooks? {#how-do-lifecycle-methods-correspond-to-hooks}
194194

195-
* `constructor`: Function components don't need a constructor. You can initialize the state in the [`useState`](/docs/hooks-reference.html#usestate) call. If computing it is expensive, you can pass a function to `useState`.
195+
* `constructor`: Function components don't need a constructor. You can initialize the state in the [`useState`](/docs/hooks-reference.html#usestate) call. If computing is expensive, you can pass a function to `useState`.
196196

197197
* `getDerivedStateFromProps`: Schedule an update [while rendering](#how-do-i-implement-getderivedstatefromprops) instead.
198198

0 commit comments

Comments
 (0)