2 ms·
I would say mixing state and behaviour was the main problem with class components (and oop), although it might be a better problem to have than all the approach
by mejutoco 5y ago
I would say mixing state and behaviour was the main problem with class components (and oop), although it might be a better problem to have than all the approaches supported simultaneously (some code with class components, some hook heavy, etc)