hocs
hocs copied to clipboard
:hammer_and_wrench: debounce-handler handle no prop case
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).
Codecov Report
Merging #26 into master will not change coverage. The diff coverage is
100%.
@@ 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 dataPowered by Codecov. Last update 3a154ce...c1021cd. Read the comment docs.