state-as-reducer (npm): A simple implementation of useState with useReducer.
Keywords: react|useState|useReducer