0
Why was React.createClass deprecated in favor of ES6 classes?
subina kallyani
hard
1completed
62
Answer
createClassautomatically bound methods, but this caused memory overhead.- It used mixins, which led to conflicts and poor composability.
- ES6 classes provided better alignment with JavaScript standards, improved performance, and encouraged clearer patterns.
Click to Reveal Answer
Tap anywhere to see the solution
Revealed
Comments0