I agree, I prefer OOP to much of the spaghetti and 5 layer nested functions that is popular now. This feels like one of those cyclical things that will come back in vogue at some point. People will have trouble maintaining these systems over time, then "discover" OOP and encapsulation, write blog posts about how it is The New Way, etc.
We have some React class components in our system. People who are < 3 years into their career don't like them as they've been told they are complicated and generally considered harmful. Over time, these people tend to come around and realize that class components can be very useful for more complex components.
We have some React class components in our system. People who are < 3 years into their career don't like them as they've been told they are complicated and generally considered harmful. Over time, these people tend to come around and realize that class components can be very useful for more complex components.