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.

364314 (1) [Avatar] Offline
#1
The code in the book (which I'm assuming is inserted from a repository somewhere) is very out of date with current React practices.

Please update the code and regenerate the book.

I'm spending more time retyping the code into more a modern format than I'm spending understanding the concepts.

React has moved along and I don't really think it's necessary to document the outdated methods of e.g. declaring components.

It's just not relevant any more in the main context of the book and should be relegated to a "If you're looking at old, outdated tutorials, here's how things evolved" Appendix.

S
287516 (45) [Avatar] Offline
#2
Thanks for the input. We're currently revamping chapter 1, and it should be out within the next couple of weeks!
287516 (45) [Avatar] Offline
#3
After reviewing the code, I was unable to really locate any code using React.createClass other than the examples showing how it works and saying that it was no longer best practice. Can you point me to the code you are speaking of so I can make sure we get it revamped? Thanks.