298028 (3) [Avatar] Offline
I'm experimenting with RN as a ObjC/Swift iOS dev, and very new to JS, especially modern JS. Chapter 2 is an wonderful reference of the differences between the two syntaxes. I've read several tutorials and other books that use the createClass syntax, and some that use the Class syntax, and I had trouble mapping between the two.
287516 (45) [Avatar] Offline
Glad it helped! Yes, learning the `React` fundamental lifecycle methods and the main difference between stateful and stateless components made writing React Native so much easier.