andyrichardson / fielder

A field-first form library for React and React Native
https://fielder.andyrichardson.dev
MIT License
196 stars 10 forks source link

Add setFieldState call to useField on validation change #278

Closed andyrichardson closed 4 years ago

andyrichardson commented 4 years ago

About

Fix #235

Notes

codecov-commenter commented 4 years ago

Codecov Report

Merging #278 into master will decrease coverage by 0.95%. The diff coverage is 80.95%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #278      +/-   ##
==========================================
- Coverage   91.51%   90.55%   -0.96%     
==========================================
  Files           3        3              
  Lines         165      180      +15     
  Branches       56       62       +6     
==========================================
+ Hits          151      163      +12     
- Misses         11       14       +3     
  Partials        3        3              
Impacted Files Coverage Δ
src/useField.ts 91.11% <75.00%> (-6.04%) :arrow_down:
src/useForm.ts 90.07% <88.88%> (+0.39%) :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 5cf7779...8610486. Read the comment docs.

andyrichardson commented 4 years ago

Shoutout to @JoviDeCroock for feedback on this ❤️