We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5adb9d commit 8e030b2Copy full SHA for 8e030b2
src/content/reference/react/createRef.md
@@ -54,7 +54,7 @@ class MyComponent extends Component {
54
55
#### Uyarılar {/*caveats*/}
56
57
-* `createRef` always returns a *different* object. It's equivalent to writing `{ current: null }` yourself.
+* `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.
59
* `const ref = useRef()` is equivalent to `const [ref, _] = useState(() => createRef(null))`.
60
0 commit comments