From c065b03b8a03b650b608a37dae5ff70aae7e94a4 Mon Sep 17 00:00:00 2001 From: Ben Alpert Date: Wed, 20 Nov 2013 11:34:09 -0800 Subject: [PATCH] autoBind -> Autobinding We don't use the term autoBind anywhere any more. --- docs/docs/03-interactivity-and-dynamic-uis.md | 2 +- docs/tips/11-dom-event-listeners.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/03-interactivity-and-dynamic-uis.md b/docs/docs/03-interactivity-and-dynamic-uis.md index b73ee9d40d..7c715b82cc 100644 --- a/docs/docs/03-interactivity-and-dynamic-uis.md +++ b/docs/docs/03-interactivity-and-dynamic-uis.md @@ -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. diff --git a/docs/tips/11-dom-event-listeners.md b/docs/tips/11-dom-event-listeners.md index 1695391523..eb81bff01c 100644 --- a/docs/tips/11-dom-event-listeners.md +++ b/docs/tips/11-dom-event-listeners.md @@ -43,4 +43,4 @@ React.renderComponent(, 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).