|
|
|
|
|
by peterhunt
3360 days ago
|
|
Don't you think the fact that React.createClass() behaves differently than JS makes it less usable (i.e. more surprising) for experienced developers? The goal of React is not to fix JavaScript's warts, nor is its goal to make programming easier for non-programmers. I believe if this is the goal of your project the end result would look very different from React (probably would look more like Vue). |
|
And by this logic, we shouldn't use JSX either.