3 ms·
You seem to have misunderstood what I was saying. I said that I saw it yesterday about React. You know, in their announcement where they outright said - "JavaS
by engendered 12y ago
You seem to have misunderstood what I was saying. I said that I saw it yesterday about React. You know, in their announcement where they outright said -
"JavaScript originally didn't have a built-in class system. Every popular framework built their own, and so did we."
I was not making a comment on any new development or change in direction, just that React (a tool I don't use) admitted to also jumping on the pretend-OOP thing.
- danabramov 12y agoThank 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.