3 ms·
Syntactic sugar? But `createClass` is a lot worse syntactic sugar than ES6 classes. React.createClass (and angular.directive or similar guerilla solutions) are
by hex13 10y ago
Syntactic sugar? But `createClass` is a lot worse syntactic sugar than ES6 classes.
React.createClass (and angular.directive or similar guerilla solutions) are harder to analyse statically. And without static analysis you won't have proper tooling (IDE autocompletion, "go to definition" feature, dependency graphs, linting etc.).
So. Welcome language standards or goodbye static analysis. I'm seriously happy that both React and Angular go into ES6 classes and resign from guerilla coding...