From 441302ee6e4bf79aec130e7960c517d88180e3d2 Mon Sep 17 00:00:00 2001 From: Ben Alpert Date: Thu, 30 May 2013 20:21:44 -0700 Subject: [PATCH] Wording tweaks --- docs/tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial.md b/docs/tutorial.md index 07c0f8bd..44fa67ef 100644 --- a/docs/tutorial.md +++ b/docs/tutorial.md @@ -483,7 +483,7 @@ var CommentForm = React.createClass({ #### Events -React attaches event handlers to components using a camelCase naming convention. We attach an onSubmit handler to the form that clear the form fields if the user has entered text in both. +React attaches event handlers to components using a camelCase naming convention. We attach an onSubmit handler to the form that clears the form fields when the form is submitted with valid input. `React.autoBind()` is a simple way to ensure that a method is always bound to its component. Inside the method, `this` will be bound to the component instance.