re: I used effects, said goodbye to my lifecycles, and feel 🙂 VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Am I the only person think useEffect is cool but hard to read? people who new to Reactjs will really confuse with the setup since "useEffect" does...
 

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.

code of conduct - report abuse