You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/reference/react/createRef.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,7 @@ class MyComponent extends Component {
52
52
53
53
* `current`: Başlangıçta `null` olarak ayarlanır. Daha sonra başka bir şeye ayarlayabilirsiniz. Ref nesnesini React'e bir JSX düğümüne `ref` niteliği olarak iletirseniz, React onun `current` özelliğini ayarlayacaktır.
54
54
55
-
#### Caveats {/*caveats*/}
55
+
#### Uyarılar {/*caveats*/}
56
56
57
57
* `createRef` always returns a *different* object. It's equivalent to writing `{ current:null }` yourself.
58
58
* In a function component, you probably want [`useRef`](/reference/react/useRef) instead which always returns the same object.
0 commit comments