This is just a small example react app
The main idea here is that state update functions are kept in a separate file for clarity (hopefully). The benefits are readability, and handeling state updates asynchronously as per this link.
To see the example in action, please have node installed.
Once you can verify that node is installed, run the following commands:
npm install
npm start
then open your browser at localhost:8080