vigetlabs / microcosm

Flux with actions at center stage. Write optimistic updates, cancel requests, and track changes with ease.
http://code.viget.com/microcosm/
MIT License
487 stars 29 forks source link

Presenter::intercept can have multiple handlers #479

Closed nhunzaker closed 6 years ago

nhunzaker commented 6 years ago

In order to achieve consistency with effects and domains, the presenter intercept method can now accept an array of handlers.

efatsi commented 6 years ago

looks great πŸ‘

nhunzaker commented 6 years ago

Thanks guys!

codecov-io commented 6 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@b136cee). Click here to learn what that means. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #479   +/-   ##
=========================================
  Coverage          ?   97.65%           
=========================================
  Files             ?       29           
  Lines             ?      681           
  Branches          ?      143           
=========================================
  Hits              ?      665           
  Misses            ?       13           
  Partials          ?        3
Impacted Files Coverage Ξ”
packages/microcosm-dom/src/utilities.js 100% <100%> (ΓΈ)
packages/microcosm-dom/src/intercept.js 100% <100%> (ΓΈ)
packages/microcosm-dom/src/presenter.js 100% <100%> (ΓΈ)

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 b136cee...9f77ad4. Read the comment docs.