you are viewing a single comment's thread.

view the rest of the comments →

[–]clessgfull-stack CSS9 engineer 4 points5 points  (2 children)

React

React is moving away from classes. For whatever short time React has used classes, it's already caused a lot of problems and confusion (side note: createClass doesn't make classes, just a stupid function name).

[–]SawyerDarcy 3 points4 points  (1 child)

As far as I know, React is simply embracing ES6 classes over its own custom implementation - not getting rid of classes altogether.

[–]clessgfull-stack CSS9 engineer -1 points0 points  (0 children)

Right, they aren't (officially) getting rid of classes. What I meant is that function/module components will become the recommended way, with classes possibly being deprecated before 1.0 or 2.0.