News for hackers. Stuff that matters.
Re:Hooks Considered Harmful by WorldMaker on Monday March 21, 2022 @02:43PM (#30758047)
I think most specifically the call out in the article is: the Hooks that React provides are extremely "low-level" (and intentionally so) and while you can do everything with just raw low-level hooks, consider returning to higher level hooks. The article provides some simple (Typescript type-safe examples) of higher level hooks. It also recommends that Redux/MobX/Relay/etc are still very useful higher level tools, even or especially in hook-based components in React.

There are no comments on this comment yet.