diegohaz / arc

React starter kit based on Atomic Design
https://arc.js.org
2.92k stars 292 forks source link

[redux] Use done instead of resolve/reject on actions #242

Closed diegohaz closed 7 years ago

diegohaz commented 7 years ago

And make it possible to return a promise when dispatching doneable actions

codecov-io commented 7 years ago

Codecov Report

Merging #242 into redux will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@         Coverage Diff          @@
##           redux   #242   +/-   ##
====================================
  Coverage    100%   100%           
====================================
  Files         74     76    +2     
  Lines        746    782   +36     
  Branches     180    186    +6     
====================================
+ Hits         746    782   +36
Impacted Files Coverage Δ
src-example/store/status/middleware.js 100% <100%> (ø)
src-example/store/status/sagas.js 100% <100%> (ø) :arrow_up:
src-example/store/resource/actions.js 100% <100%> (ø) :arrow_up:
src-example/store/post/actions.js 100% <100%> (ø) :arrow_up:
src-example/services/api/index.js 100% <0%> (ø)

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 96a3b82...164a494. Read the comment docs.