by skratlo · 11y ago · 0 comments
In fact, they're doing the opposite: deprecating proprietary pseudo-OOP `React.createClass` helper and let people use whatever they fancy. This makes it easier to write React components using idiomatic constructs from different languages, whether it is TypeScript, ClojureScript, CoffeeScript, or whatever. Also lets you use any mixin system, if you need it at all.
React's stance on inheritance: https://github.com/facebook/react/issues/613#issuecomment-29...
“Minimal API surface area”: http://www.youtube.com/watch?v=4anAwXYqLG8
We're definitely considering optional module based systems instead of OOP, but it's still too early. https://github.com/reactjs/react-future/tree/master/07%20-%2...