390885 (23) [Avatar] Offline
#1
Could you please describe what is the differences between extending React.component and using React.createClass() to create custom React component class?
Azat Mardan (41) [Avatar] Offline
#2
There are a lot of differences. React.Component does NOT have autobinding for example.
The way you define states and attributes is different.
I mention createClass in the new edition, but the focus of the new version of the book is on React.Component since it's the new style.

Please get the latest MEAP. It will have a sidenote about this in one of the chapters.

---

Azat, author of React Quickly