Custom setters with React useState hook

One of the recent additions to React was its hooks. With that, developers don’t need to rely on libraries such as Recompose to add state (and other features) to functional components. If you’re one of those devs and were used to create custom setters for states, it’s possible you find the new useState hook somewhat […]