Skip to content

Commit a531a0f

Browse files
Small typo fix
1 parent 60bddf7 commit a531a0f

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
@@ -109,7 +109,7 @@ There are a few more heuristics, and they might change over time as we fine-tune
109109

110110
### How do lifecycle methods correspond to Hooks?
111111

112-
* `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`.
112+
* `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`.
113113

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

0 commit comments

Comments
 (0)