From e142aff5510d05db749bcb56f9d49ef46b73db99 Mon Sep 17 00:00:00 2001 From: Ryan McBride Date: Tue, 15 Sep 2015 11:37:15 -0700 Subject: [PATCH] Added clarifying statement to React README Added a clarifying statement to explain why the underscore prefix isn't used in React. --- react/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react/README.md b/react/README.md index f1ea8fb34f..87c5b00c3a 100644 --- a/react/README.md +++ b/react/README.md @@ -217,7 +217,7 @@ ``` ## Methods - - Do not use underscore prefix for internal methods of a React component. + - Do not use underscore prefix for internal methods of a React component. Internal methods are private by default, so there is no need to differentiate with an underscore. ```javascript // bad React.createClass({