Closed The-Normal-One1 closed 1 year ago
[x] Fetched data from the Missions endpoint (https://api.spacexdata.com/v3/missions) when a user navigates to the Missions section.
[x] Once the data was fetched, dispatched an action to store the selected data in the Redux store:
- mission_id - mission_name - description
[x] Made sure I only dispatch those actions once and do not added data to store on every re-render (i.e. when changing views / using navigation).
[x] Used useSelector() Redux Hook to select the state slices and rendered lists of missions in corresponding routes
The following lists were done to Fetch info from the API:
[x] Fetched data from the Missions endpoint (https://api.spacexdata.com/v3/missions) when a user navigates to the Missions section.
[x] Once the data was fetched, dispatched an action to store the selected data in the Redux store:
[x] Made sure I only dispatch those actions once and do not added data to store on every re-render (i.e. when changing views / using navigation).
[x] Used useSelector() Redux Hook to select the state slices and rendered lists of missions in corresponding routes