3 ms·
React can be quite confusing > https://www.google.com/search?q=React.createClass+versus+extends+React.Component https://www.google.com/search?q=React.createCla
by patsplat 10y ago
React can be quite confusing
> https://www.google.com/search?q=React.createClass+versus+extends+React.Component https://www.google.com/search?q=React.createClass+versus+ext...
- bastawhiz 10y agoIt's totally fine to pick one, learn it, and never think about the other. One way is the old way, one way is new. Simple as that. There's never a case where you should use both.