News for hackers. Stuff that matters.
Re:A guide to useEffect in React by sorahn on Tuesday March 12, 2019 @10:23AM (#19368376)
> HOCs/render prop

Both of these inflate the VDOM, and present themselves as a false hierarchy that your app requires. HOCs artificially inflate the props that any component requires, and it's harder to see what props you're actually supposed to pass to the component, vs the ones that should come from a HOC. Hooks remove a lot of these anti-patterns.

There are no comments on this comment yet.