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: docs/docs/08.1-more-about-refs.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -90,7 +90,7 @@ It's as simple as:
90
90
91
91
The `ref` attribute can be a callback function instead of a name. This callback will be executed immediately after the component is mounted. The referenced component will be passed in as a parameter, and the callback function may use the component immediately, or save the reference for future use (or both).
92
92
93
-
It's as simple as assigning a `ref` attribute to anything returned from `render` such as:
93
+
It's as simple as adding a `ref` attribute to anything returned from `render` by using an ES6 arrow function:
0 commit comments