Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

These are the new Beta docs.

The original docs made no such claim.

Which brings us back to the biggest problem with useEffect. Even the react devs don’t seem to have a clue how it should actually used, until only recently, despite it being among the 2 most used hooks ever since hooks were introduced.



What about any of that invalidates my assertion that useEffect is not the tool to reach for most of the time?

The original docs are outdated

The abstraction itself is ripe for misuse

Tons of devs use it when they shouldn’t.

Insert shrug emoji here.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: