Hacker News new | past | comments | ask | show | jobs | submit login

Example with "extends" is also in your docs (exactly by link of this post), so I'm not sure what it proves.



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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: