DEV Community

Discussion on: I used effects, said goodbye to my lifecycles, and feel 🙂

Collapse
 
kayis profile image
K

Yes, the naming isn't optimal, I think.

useState is pretty straight-forward, but useEffect not so much.

On the other hand, they are basic building blocks used to create more sophisticated hooks that would have clearer names.

useFetch, useHttp, useTrackingApi, useFacebookLogin etc.