Skip to content

Commit c0d3cb3

Browse files
committed
Rules of React page
1 parent 34cf5cc commit c0d3cb3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/content/reference/rules/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Kod tabanınızın React Kurallarına uymasına yardımcı olmak için React'in
2424

2525
## Bileşenler ve Hook'lar saf olmalıdır {/*components-and-hooks-must-be-pure*/}
2626

27-
[Purity in Components and Hooks](/reference/rules/components-and-hooks-must-be-pure) is a key rule of React that makes your app predictable, easy to debug, and allows React to automatically optimize your code.
27+
[Bileşenlerde ve Hook'larda Saflık](/reference/rules/components-and-hooks-must-be-pure) React'in uygulamanızı öngörülebilir, hata ayıklaması kolay ve React'in kodunuzu otomatik olarak optimize etmesini sağlayan temel bir kuralıdır.
2828

2929
* [Components must be idempotent](/reference/rules/components-and-hooks-must-be-pure#components-and-hooks-must-be-idempotent) – React components are assumed to always return the same output with respect to their inputs – props, state, and context.
3030
* [Side effects must run outside of render](/reference/rules/components-and-hooks-must-be-pure#side-effects-must-run-outside-of-render) – Side effects should not run in render, as React can render components multiple times to create the best possible user experience.

0 commit comments

Comments
 (0)