4 ms·
I don't get why your parent is being downvoted. React's position is to avoid inheritance in favor of composition: https://github.com/facebook/react/issues/613#
by danabramov 12y ago
I don't get why your parent is being downvoted.
React's position is to avoid inheritance in favor of composition: https://github.com/facebook/react/issues/613#issuecomment-29280175 https://github.com/facebook/react/issues/613#issuecomment-29...
This hasn't changed.
The change in 0.13 has nothing to do with inheritance though.
It's neither about classes nor about ES6. I wrote a comment explaining why: https://news.ycombinator.com/item?id=8959691 https://news.ycombinator.com/item?id=8959691