Skip to content

Commit 5449e2b

Browse files
committed
translate createRef page
1 parent d028699 commit 5449e2b

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
@@ -56,7 +56,7 @@ class MyComponent extends Component {
5656
5757
* `createRef` her zaman *farklı* bir nesne döndürür. Bu, `{ current: null }` yazmaya eşdeğerdir.
5858
* Bir fonksiyon bileşeninde, muhtemelen bunun yerine her zaman aynı nesneyi döndüren [`useRef`](/reference/react/useRef) istersiniz.
59-
* `const ref = useRef()` is equivalent to `const [ref, _] = useState(() => createRef(null))`.
59+
* `const ref = useRef()` ifadesi `const [ref, _] = useState(() => createRef(null))` ifadesine eşdeğerdir.
6060
6161
---
6262

0 commit comments

Comments
 (0)