This is a proof-of-concept single-page-app (SPA) made using Create React App and Redux Toolkit. The app tracks time by using global state to store the current and target time, as well as the duration between the two. Reducers responsible for advancing the time, adding time, and setting the target time are included and connected to various components via the connect()
function.
To use this app, clone the source code:
gh repo clone ben-laird/adjustable-timer
In a terminal at the root directory, run npm start
. This will open a browser at localhost 3000 where you can see and interact with the app. Using Firefox or Chrome with React DevTools and Redux DevTools is recommended.
For more details, check out the Create React App README included in the source code.