Should I use React.createClass, ES6 Classes or stateless functional components?
jamesknelson.com
jamesknelson.com
ES6 Classes if neither of these are a big deal to you, but you prefer classes and still want HMR.
Functional components of you want terse, testable, potentially vdom-agnostic UI components despite losing HMR capabilities (as of yet).
If you install and run this Gist mini-project, you still get the HMR experience with the functional component:
https://gist.github.com/insin/02103c862ed3622f8b8b#file-read...