@samitouri / QOS-React-2 / commits / b994d076d1

:memo: document changes for classes

Taking https://github.com/facebook/react/pull/4013#discussion_r31829922 into account

Basarat Ali Syed committed Jun 6, 2015 at 10:23 UTC b994d076d15711652e2b78687766dbe5359d30d4
1 file changed +3
docs/docs/ref-03-component-specs.md
+3
@@ -10,6 +10,9 @@ next: tags-and-attributes.html
10
11 When creating a component class by invoking `React.createClass()`, you should provide a specification object that contains a `render` method and can optionally contain other lifecycle methods described here.
12
13 +> Note:
14 +>
15 +> It is also possible to use plain JavaScript classes as component classes. These classes can implement most of the same methods, though there are some differences. For more information about these differences, please read our documentation about [ES6 classes](/react/blog/2015/01/27/react-v0.13.0-beta-1.html#es6-classes).
16
17 ### render
18