This ticket adds a way of create new api action using the thunk middleware. It just abstract the idea of create the begin, success, failure actions.
Fixes #166
Type of change
Please delete options that are not relevant.
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Pull Request Template
Description
This ticket adds a way of create new api action using the
thunk
middleware. It just abstract the idea of create the begin, success, failure actions.Fixes #166
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
yarn test:unit
yarn cypress:run
yarn storybook
yarn start
Test Configuration: