3 ms·
React is a very popular GUI toolkit and it doesn't use OOP functionality at all.
by anchpop 6y ago
React is a very popular GUI toolkit and it doesn't use OOP functionality at all.
- andrewmcwatters 6y agoReact isn't the one doing the actual drawing.
- Const-me 6y agohttps://reactjs.org/ https://reactjs.org/ says right on the front page: "Build encapsulated components that manage their own state, then compose them to make complex UIs." Components managing their own state is a textbook definition of OOP.
- wtetzner 6y agoEncapsulation is not equivalent to OOP. If it is, then why do we have two separate terms for the same thing?