autoBind -> Autobinding

We don't use the term autoBind anywhere any more.
This commit is contained in:
Ben Alpert
2013-12-02 15:10:12 -08:00
committed by Paul O’Shannessy
parent c32c788e5a
commit c065b03b8a
2 changed files with 2 additions and 2 deletions
@@ -46,7 +46,7 @@ With React you simply pass your event handler as a camelCased prop similar to ho
If you'd like to use React on a touch device (i.e. a phone or tablet), simply call `React.initializeTouchEvents(true);` to turn them on.
## Under the Hood: autoBind and Event Delegation
## Under the Hood: Autobinding and Event Delegation
Under the hood React does a few things to keep your code performant and easy to understand.
+1 -1
View File
@@ -43,4 +43,4 @@ React.renderComponent(<Box />, mountNode);
`componentDidMount` is called after the component is mounted and has a DOM representation. This is often a place where you would attach generic DOM events.
Notice that the event callback is bound to the react component and not the original element. React automatically binds methods to the current component instance for you through a process of [autobinding](../docs/interactivity-and-dynamic-uis.html#under-the-hood-autobind-and-event-delegation).
Notice that the event callback is bound to the react component and not the original element. React automatically binds methods to the current component instance for you through a process of [autobinding](../docs/interactivity-and-dynamic-uis.html#under-the-hood-autobinding-and-event-delegation).