Skip to content

Commit 59de71d

Browse files
committed
rules-of-hooks
1 parent 0257d8a commit 59de71d

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
@@ -36,7 +36,7 @@ function useWindowWidth() {
3636
Hook'ları (`use` ile başlayan fonksiyonlar) başka herhangi bir durumda çağırmak **desteklenmez**, örneğin:
3737

3838
* 🔴 Hook'ları koşulların veya döngülerin içinde çağırmayın.
39-
* 🔴 Do not call Hooks after a conditional `return` statement.
39+
* 🔴 Hook'ları koşullu bir `return` ifadesinden sonra çağırmayın.
4040
* 🔴 Do not call Hooks in event handlers.
4141
* 🔴 Do not call Hooks in class components.
4242
* 🔴 Do not call Hooks inside functions passed to `useMemo`, `useReducer`, or `useEffect`.

0 commit comments

Comments
 (0)