// Copyright (c) Astraeus Health Corporation 2022
// This is a React app that uses Redux store with a reducer and a middleware.
Your assignment is to make it more readable, and also add some functionality.
Specifically, please consider doing the following, in no particular order:
- Replace single-letter variable names with something more descriptive.
- Provide comments for each of the functions.
- Provide a general comment for the entire program, describing its purpose.
- Replace type any with something more specific.
- Do not allow timer to increment counter past 10.
- Trigger an alert when counter reaches 20.
- If counter goes below zero, make timer decrement rather than increment it.
- Add a drop-down to select increment and decrement step between 1, 2, and 3.
- Use monospace font for all text on the page.
- Create unit tests for increment, decrement and counter functions.
- Create package configuration that could be used to serve the page.
- Change App to log the timestamp of when that component did mount.