3 ms·
https://reactjs.org/ https://reactjs.org/ says right on the front page: "Build encapsulated components that manage their own state, then compose them to make co
by Const-me 6y ago
https://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?