/tag/React

  • 18 September 2022

    useReducer > useState

    Today I want to talk a little bit about useReducer and how it can be used as a fantastic way to manage complex state requirements without reaching for a library or peppering your codebase with multiple useState calls. In the following example, we are going to look at a users pr...