Enclose a name of function in back quote
Kohei TAKATA committed
Jul 9, 2015 at 15:11 UTC
ecb483f3070997323530f4f4dbbec915c2c7d3e0
1 file changed
+1
-1
docs/docs/08.1-more-about-refs.md
+1
-1
@@ -131,7 +131,7 @@ It's as simple as assigning a `ref` attribute to anything returned from `render`
131
});
132
```
133
134
-In this example, our render function returns a description of an `<input />` instance. But the true instance is accessed via `this.refs.theInput`. As long as a child component with `ref="theInput"` is returned from render, `this.refs.theInput` will access the proper instance. This even works on higher level (non-DOM) components such as `<Typeahead ref="myTypeahead" />`.
134
+In this example, our render function returns a description of an `<input />` instance. But the true instance is accessed via `this.refs.theInput`. As long as a child component with `ref="theInput"` is returned from `render`, `this.refs.theInput` will access the proper instance. This even works on higher level (non-DOM) components such as `<Typeahead ref="myTypeahead" />`.
135
136
137
## Summary