hocs icon indicating copy to clipboard operation
hocs copied to clipboard

:hammer_and_wrench: debounce-handler handle no prop case

Open danielemery opened this issue 6 years ago • 1 comments

We are using debounce-handler to enhance a component with optional props, we would like to debounce them only if they are present. At the moment this results in an error (see test case).

danielemery avatar Jan 11 '19 01:01 danielemery

Codecov Report

Merging #26 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #26   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          17     17           
  Lines         242    244    +2     
=====================================
+ Hits          242    244    +2
Impacted Files Coverage Δ
packages/debounce-handler/src/index.js 100% <100%> (ø) :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 3a154ce...c1021cd. Read the comment docs.

codecov-io avatar Jan 11 '19 01:01 codecov-io