sashankshukla / splash

2 stars 0 forks source link

error, success, loading state management through redux #55

Closed sashankshukla closed 1 year ago

sashankshukla commented 1 year ago

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

sashankshukla commented 1 year ago

Also every thunk must have a try catch to fulfill or reject appropriately