Skip to content

Commit d028699

Browse files
committed
translate createRef page
1 parent 8e030b2 commit d028699

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/reference/react/createRef.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class MyComponent extends Component {
5555
#### Uyarılar {/*caveats*/}
5656
5757
* `createRef` her zaman *farklı* bir nesne döndürür. Bu, `{ current: null }` yazmaya eşdeğerdir.
58-
* In a function component, you probably want [`useRef`](/reference/react/useRef) instead which always returns the same object.
58+
* Bir fonksiyon bileşeninde, muhtemelen bunun yerine her zaman aynı nesneyi döndüren [`useRef`](/reference/react/useRef) istersiniz.
5959
* `const ref = useRef()` is equivalent to `const [ref, _] = useState(() => createRef(null))`.
6060
6161
---

0 commit comments

Comments
 (0)