3 ms·
Thank you for clarification, I get your point now. To be fair though, React never allowed inheritance (even in its own class system) so it's a bit misleading t
by danabramov 12y ago
Thank you for clarification, I get your point now.
To be fair though, React never allowed inheritance (even in its own class system) so it's a bit misleading to compare it to other frameworks where (pseudo-)inheritance is one of the valid ways to reuse UI code.
Of all OOP, in my experience it's inheritance that doesn't play well with UI code at all—and React never allowed it in the first place.