Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
EugeneOZ
9y ago
0 comments
Share
Example with "extends" is also in your docs (exactly by link of this post), so I'm not sure what it proves.
0 comments
default
newest
oldest
seattle_spring
9y ago
That's extending the base react component class, not an existing component class.
EugeneOZ
OP
9y ago
Well, if you think there's a difference then we never agree :)
jhall1468
9y ago
Creating a nested class hierarchy and extending a single base class for all components are decidedly not the same thing.
j
/
k
navigate · click thread line to collapse