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 #18

Closed
HectorTorresE opened this issue Apr 5, 2022 · 0 comments · Fixed by #31
Closed

[4pt] Fetch missions - Fetch data #18

HectorTorresE opened this issue Apr 5, 2022 · 0 comments · Fixed by #31
Assignees

Comments

@HectorTorresE
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).

@JuanLPalacios JuanLPalacios self-assigned this Apr 5, 2022
@JuanLPalacios JuanLPalacios moved this from To do to In progress in Space Travelers Hub Apr 5, 2022
@JuanLPalacios JuanLPalacios moved this from In progress to In review in Space Travelers Hub Apr 5, 2022
@JuanLPalacios JuanLPalacios linked a pull request Apr 5, 2022 that will close this issue
@HectorTorresE HectorTorresE moved this from In review to Done in Space Travelers Hub Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging a pull request may close this issue.

2 participants