We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91a8492 commit 9f19007Copy full SHA for 9f19007
src/content/reference/rules/rules-of-hooks.md
@@ -55,7 +55,7 @@ function Bad({ cond }) {
55
56
function Bad() {
57
for (let i = 0; i < 10; i++) {
58
- // 🔴 Bad: inside a loop (to fix, move it outside!)
+ // 🔴 Kötü: bir döngünün içinde (düzeltmek için dışarı taşıyın!)
59
const theme = useContext(ThemeContext);
60
}
61
// ...
@@ -65,7 +65,7 @@ function Bad({ cond }) {
65
if (cond) {
66
return;
67
68
- // 🔴 Bad: after a conditional return (to fix, move it before the return!)
+ // 🔴 Kötü: koşullu dönüşten sonra (düzeltmek için dönüşten önce taşıyın!)
69
70
71
0 commit comments