Skip to content

Commit 8e030b2

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

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
@@ -54,7 +54,7 @@ class MyComponent extends Component {
5454
5555
#### Uyarılar {/*caveats*/}
5656
57-
* `createRef` always returns a *different* object. It's equivalent to writing `{ current: null }` yourself.
57+
* `createRef` her zaman *farklı* bir nesne döndürür. Bu, `{ current: null }` yazmaya eşdeğerdir.
5858
* In a function component, you probably want [`useRef`](/reference/react/useRef) instead which always returns the same object.
5959
* `const ref = useRef()` is equivalent to `const [ref, _] = useState(() => createRef(null))`.
6060

0 commit comments

Comments
 (0)