3 ms·
React.Component vs. React.createClass
- forgottenacc56 11y agoWhy the heck would you not want all that juicy ES6 ES2015 goodness?
- yrezgui 11y agoNo one stops you to use ES6 notation in React.createComponent methods.
- deleted 11y ago[deleted]
- mukmuk 11y agoIf you are using ES6 class syntax, then I would think you would also be using const / let; and if you are using const / let, then FlowTypes is, for me anyway, borderline unusable because it still does not support them (although there is apparently a fork with pseudo-support, if you want to deal with that): https://github.com/facebook/flow/pull/431 https://github.com/facebook/flow/pull/431