@samitouri / QOS-React-2 / commits / ebd83e809e

Remove error ref to the 'render' function (#8781)

What is the `render` function of a functional component?

Vladimir Tikunov committed Jan 14, 2017 at 22:36 UTC ebd83e809e876cbeb1d7aca16fd317c0bbc7b636
1 file changed +1 -1
docs/docs/refs-and-the-dom.md
+1 -1
@@ -73,7 +73,7 @@ class AutoFocusTextInput extends React.Component {
73 }
74 ```
75
76 -You may not use the `ref` attribute on functional components because they don't have instances. You can, however, use the `ref` attribute inside the `render` function of a functional component:
76 +You may not use the `ref` attribute on functional components because they don't have instances. You can, however, use the `ref` attribute inside the functional component:
77
78 ```javascript{2,3,6,13}
79 function CustomTextInput(props) {