4 ms·
The zeitgeist is that hooks are easier to reason about than life cycle methods, functional components are more lightweight and result in less bundled code.
by ritchiea 6y ago
The zeitgeist is that hooks are easier to reason about than life cycle methods, functional components are more lightweight and result in less bundled code.
- hitekker 6y agoIt's more of a hype train than a "zeitgeist". Major community contributors like Jared Palmer have stepped forward in the past year to critique the complexity of React hooks. https://jaredpalmer.com/blog/react-is-becoming-a-black-box https://jaredpalmer.com/blog/react-is-becoming-a-black-box https://dillonshook.com/a-critique-of-react-hooks-addendum/ https://dillonshook.com/a-critique-of-react-hooks-addendum/ Personally, I think blindly adopting the latest frontend trends is the opposite of being "radically pragmatic".