uptrend-tech / uptrend-redux-modules

Collection of modules useful to redux based react apps.
MIT License
5 stars 1 forks source link

feat: ResourceLoader request triggers action ONLY #48

Closed orther closed 6 years ago

orther commented 6 years ago

Added new functions loadResourceRequest and updateResourceRequest which dispatch the actions used in loadResource and updateResource and returns the redux-saga-thunk promise returned.

This makes it possible to request the resource without making the component change status states. Since it returns the redux-saga-thunk promise success and error handling is easily accessible.

Checklist:

codecov[bot] commented 6 years ago

Codecov Report

Merging #48 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #48   +/-   ##
=======================================
  Coverage   94.37%   94.37%           
=======================================
  Files          22       22           
  Lines         391      391           
  Branches       59       59           
=======================================
  Hits          369      369           
  Misses         22       22
Impacted Files Coverage Δ
src/helpers/resource/components/ResourceLoader.js 97.01% <ø> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 49b2b8a...3ae2ca5. Read the comment docs.

orther commented 6 years ago

:tada: This PR is included in version 0.16.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: