298028 (3) [Avatar] Offline
#1
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 (28) [Avatar] Offline
#2
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.