react-final-form-hooks icon indicating copy to clipboard operation
react-final-form-hooks copied to clipboard

Better referential equality in useField

Open Jephuff opened this issue 5 years ago • 1 comments

resolves #30 wraps onBlur, onChange, and onFocus in useCallback. wraps input in useMemo

Jephuff avatar Feb 05 '20 15:02 Jephuff

Codecov Report

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

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #65   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           4      4           
  Lines          83     86    +3     
  Branches       17     17           
=====================================
+ Hits           83     86    +3
Impacted Files Coverage Δ
src/useField.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 f273d6b...f4e96ef. Read the comment docs.

codecov[bot] avatar Feb 05 '20 15:02 codecov[bot]