Skip to content

Commit 9662f24

Browse files
authored
Merge pull request #56 from suyalcinkaya/special-props
Translates "special-props" section to Turkish lang
2 parents b77ee40 + 955301c commit 9662f24

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/warnings/special-props.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
title: Special Props Warning
2+
title: Özel Prop'lar Uyarısı
33
layout: single
44
permalink: warnings/special-props.html
55
---
66

7-
Most props on a JSX element are passed on to the component, however, there are two special props (`ref` and `key`) which are used by React, and are thus not forwarded to the component.
7+
Bir JSX elemanındaki çoğu prop bileşene iletilir, ancak React tarafından kullanılan ve bu nedenle bileşene iletilmeyen iki özel prop (`ref` ve `key`) vardır.
88

9-
For instance, attempting to access `this.props.key` from a component (i.e., the render function or [propTypes](/docs/typechecking-with-proptypes.html#proptypes)) is not defined. If you need to access the same value within the child component, you should pass it as a different prop (ex: `<ListItemWrapper key={result.id} id={result.id} />`). While this may seem redundant, it's important to separate app logic from reconciling hints.
9+
Örneğin, bir bileşenden (diğer bir deyişle bir render etme fonksiyonu veya [propTypes](/docs/typechecking-with-proptypes.html#proptypes)) `this.props.key`e erişmeye çalışmak tanımlı değildir. Alt bileşende aynı değere erişmeniz gerekiyorsa, bunu farklı bir prop (örnek: `<ListItemWrapper key={result.id} id={result.id} />`) olarak iletmelisiniz. Bu gereksiz görünse de, uygulama mantığını uzlaşma ipuçlarından ayırmak önemlidir.

0 commit comments

Comments
 (0)