4 ms·
> And anyone who has used classes in Java or other languages would feel at home. Not really because there's nothing object oriented about React.Component. It's
by ng12 6y ago
> And anyone who has used classes in Java or other languages would feel at home.
Not really because there's nothing object oriented about React.Component. It's just a wrapper for a function implemented as a class.
- cmckn 6y agoTHIS is what I wish I knew about React. As a Java user, I made incredibly wrong and damaging assumptions because "classes, I know what these are"! I still can't make heads or tails of hooks, but in due time!