I have been using react since 2015, hooks for the most part seems like a miss.
I use sometimes, but for the most part is overused feature.
I think thats a symptom of a problem with the front end community, people get too attached to the new thing and try to make it the standard instead of building something stable and concise.
Im tired to having to rewrite a code because one library that I had to upgrade decided to migrate to the "new thing"
The composability of hooks, which was one of it main selling points, is also my main gripe with them now. I often have to wade through multiple levels of hooks to figure out what's really going on.
And using it professionally for years now, there's still some cases I can't wrap my head around. And the mental model is just a bit "off". Like, the same function is ran multiple times, but with different behavior (like a useState only uses the parameter the first time the function is ran) which is very unclean.
I use sometimes, but for the most part is overused feature.
I think thats a symptom of a problem with the front end community, people get too attached to the new thing and try to make it the standard instead of building something stable and concise.
Im tired to having to rewrite a code because one library that I had to upgrade decided to migrate to the "new thing"