News for hackers. Stuff that matters.
Re:A Critique of React Hooks Addendum by sjogress on Friday May 08, 2020 @04:28AM (#23112628)
We decided on the useReducer-hook instead of using a proper state library.

We did this since the thing we are currently building is essentially just a set of forms with a lot of client-side and server-side validations.

Of course, if we were building a large SPA we would probably reconcider at this point. It feels like we're already at the edge of what useReducer was designed to do and I do not think what we are doing now would scale cleanly to a larger project or a larger team.

There are no comments on this comment yet.