Skip to content

Commit 9680e2e

Browse files
committed
rules-of-hooks
1 parent 7586abb commit 9680e2e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/content/reference/rules/rules-of-hooks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Hook'ları (`use` ile başlayan fonksiyonlar) başka herhangi bir durumda çağ
3939
* 🔴 Hook'ları koşullu bir `return` ifadesinden sonra çağırmayın.
4040
* 🔴 Hook'ları olay işleyicilerinde çağırmayın.
4141
* 🔴 Hook'ları sınıf bileşenlerinde çağırmayın.
42-
* 🔴 Do not call Hooks inside functions passed to `useMemo`, `useReducer`, or `useEffect`.
42+
* 🔴 Hook'ları `useMemo`, `useReducer` veya `useEffect`'e geçirilen fonksiyonların içinde çağırmayın.
4343
* 🔴 Do not call Hooks inside `try`/`catch`/`finally` blocks.
4444

4545
If you break these rules, you might see this error.

0 commit comments

Comments
 (0)