Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4pt] Fetch missions - Fetch data #19

Open
Uzair-Manzoor opened this issue Oct 3, 2023 · 1 comment
Open

[4pt] Fetch missions - Fetch data #19

Uzair-Manzoor opened this issue Oct 3, 2023 · 1 comment
Assignees

Comments

@Uzair-Manzoor
Copy link
Owner

Fetch data from the Missions endpoint (https://api.spacexdata.com/v3/missions) when a user navigates to the Missions section.

Once the data are fetched, dispatch an action to store the selected data in Redux store:

  • mission_id
  • mission_name
  • description

NOTE: Make sure you only dispatch those actions once and do not add data to store on every re-render (i.e. when changing views / using navigation).

@Nuga0909 Nuga0909 assigned Uzair-Manzoor and unassigned Nuga0909 Oct 4, 2023
@Uzair-Manzoor Uzair-Manzoor moved this from To do to In progress in React Group Project Oct 4, 2023
@Uzair-Manzoor Uzair-Manzoor moved this from In progress to In review in React Group Project Oct 4, 2023
@Uzair-Manzoor
Copy link
Owner Author

Task has been completed:
👉 Pull Request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants