Each of our redux states has an error, success, loading, and fulfilled state. We have 3 components: LoadingSpinner, ErrorAlert, and SuccessAlert. The task is to go through the app and update the code to display the appropriate stuff using these states using the above components. For the Alerts, we need some sort of state and a setTimeout so the message disappears after an appropriate amount of seconds
Each of our redux states has an error, success, loading, and fulfilled state. We have 3 components:
LoadingSpinner
,ErrorAlert
, andSuccessAlert
. The task is to go through the app and update the code to display the appropriate stuff using these states using the above components. For the Alerts, we need some sort of state and a setTimeout so the message disappears after an appropriate amount of seconds