The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

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