DEV Community

Discussion on: 5 things I struggled with when learning React with a Vue background

Collapse
 
ozzythegiant profile image
Oziel Perez

I think at this point, the Hooks API has done a disservice to the JS developer community in teaching anti-patterns. There's so much sloppy code out there with the multiple nested hooks I keep seeing. I mean, we're treating functions like classes when we should just be using React classes in the first place. If we have to keep using functions, I'd rather continue using Redux, given its readability works better with React's one-way data flow style