News for hackers. Stuff that matters.
Re:A Critique of React Hooks Addendum by davedx on Thursday May 07, 2020 @01:14PM (#23105454)
Personally, hooks have vastly simplified my code bases by giving me an out-of-the-box toolset for managing and fetching state. Not using redux means tons less boilerplate and actually means each "page" of my SPA's are totally decoupled from each other. (You can do this with redux by giving each page its own store but you need to be disciplined and refactoring can be tricky).
Re:A Critique of React Hooks Addendum by wnevets on Thursday May 07, 2020 @01:20PM (#23105529)
Why was redux chosen in the first place if it had tons of boilerplate, etc?