I'm a beginner learning react js
and I ask a lot of questions even if it looks simple.
In the Introduction of hooks section, It is mentioned
- It’s hard to reuse stateful logic between components
- Complex components become hard to understand
- Classes confuse both people and machines
I don't know why they hate classes so much, inside which they have mentioned
classes don’t minify very well, and they make hot reloading flaky and unreliable
And on Google, I found it's hard to understand how classes don’t minify very well
can anyone kindly answer this with an example