react-use-history-state (npm): react's useState with buffer for previous values
Keywords: react|hook|typescript|history