From f6d9da57c640eb021090fc191f97448141007353 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20O=E2=80=99Shannessy?= Date: Mon, 8 Jun 2015 21:46:39 -0700 Subject: [PATCH] Merge pull request #4046 from basarat/patch-2 :memo: document changes for classes --- docs/docs/ref-03-component-specs.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/docs/ref-03-component-specs.md b/docs/docs/ref-03-component-specs.md index 9db7bf8833..2ad0bbbc8e 100644 --- a/docs/docs/ref-03-component-specs.md +++ b/docs/docs/ref-03-component-specs.md @@ -10,6 +10,9 @@ next: tags-and-attributes.html 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. +> Note: +> +> 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/docs/reusable-components.html#es6-classes). ### render