Hacker News new | ask | show | jobs
by EugeneOZ 3360 days ago
Example with "extends" is also in your docs (exactly by link of this post), so I'm not sure what it proves.
1 comments

That's extending the base react component class, not an existing component class.
Well, if you think there's a difference then we never agree :)
Creating a nested class hierarchy and extending a single base class for all components are decidedly not the same thing.