r/reactjs • u/callensm • Oct 31 '18
Why the hate for React Hooks?
I've been seeing a lot of mixed feelings about React Hooks since it was announced and can't quite figure out why. Sure it's a deviation from the norm, but completely optional and certainly lowers the barrier to entry for new developers.
Can someone explain why all the negative feelings are rising about it?
19
Upvotes
View all comments
Show parent comment
6
u/gaearon React core team Oct 31 '18
Yeah it’s annoying. For what it’s worth Hooks are designed to be used with Suspense in mind. Which makes data fetching much more straightforward. Once that is ready you shouldn’t need to useEffect for data fetching at all. But for now it’s awkward.