Skip to content

Commit 57f3865

Browse files
committed
rules-of-hooks
1 parent f58649f commit 57f3865

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
@@ -12,7 +12,7 @@ Hook'lar JavaScript fonksiyonları kullanılarak tanımlanır, ancak nerede ça
1212

1313
## Hook'ları yalnızca en üst düzeyde çağırın {/*only-call-hooks-at-the-top-level*/}
1414

15-
Functions whose names start with `use` are called [*Hooks*](/reference/react) in React.
15+
İsimleri `use` ile başlayan fonksiyonlar React'te [*Hooks*](/reference/react) olarak adlandırılır.
1616

1717
**Don’t call Hooks inside loops, conditions, nested functions, or `try`/`catch`/`finally` blocks.** Instead, always use Hooks at the top level of your React function, before any early returns. You can only call Hooks while React is rendering a function component:
1818

0 commit comments

Comments
 (0)