Eric Elliott
Jul 28, 2017 · 1 min read

React’s .createClass() was just a factory function that took methods as named arguments. It was actually a bit simpler than the `class` syntax we’re using now.

In my opinion, we did not gain much from the introduction of classes to React.

However, we did gain a lot from the introduction of functional components. Radically simplified syntax. Much less verbosity. Very easy to understand. No big API to learn.

Adding `class` to the list of options doesn’t make the other options go away. That’s not how standards work.

This is how standards actually work.

Eric Elliott

Written by

Make some magic. #JavaScript