Skip to content
This repository has been archived by the owner on Feb 2, 2022. It is now read-only.

Populate Redux store using sagas #16

Merged
merged 1 commit into from
Mar 23, 2019
Merged

Conversation

rgreinho
Copy link
Member

This patch implements a mechanism to retrieve the fatality data using
redux-sagas. At this time, mock data are used, but it will be fairly
easy to replace it with actual API calls.

By using mock data retrieved via saga, we are able to simulate API
calls, for instance by adding some delay before returning the data. This
allows us to keep working on the next bricks needed for the project
(graphs, maps, etc.)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Code cleanup / Refactoring
  • Documentation

Description

Checklist

  • [] I have updated the documentation accordingly
  • [] I have written unit tests

Fixes rgreinho/scrapdviz#

This patch implements a mechanism to retrieve the fatality data using
redux-sagas. At this time, mock data are used, but it will be fairly
easy to replace it with actual API calls.

By using mock data retrieved via saga, we are able to simulate API
calls, for instance by adding some delay before returning the data. This
allows us to keep working on the next bricks needed for the project
(graphs, maps, etc.)
@rgreinho rgreinho merged commit ad26418 into scrapd:master Mar 23, 2019
@rgreinho rgreinho deleted the mock-api branch March 23, 2019 17:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant