Skip to content

v3.0.0

Compare
Choose a tag to compare
@erikras erikras released this 28 May 10:54
· 35 commits to master since this release
v3.0.0

🎉 HOOKS!! 🎣

New Features

  • New useFieldArray hook that contains all of the internals of the FieldArray component.

Type Fixes

  • Added missing update function to TS definition for FieldArrayRenderProps #76

⚠️ Breaking Changes ⚠️

  • You will need upgrade your dependencies:
    • react: ^16.8.0
    • react-final-form: ^6.0.0
    • final-form: ^4.13.0
  • A new default isEqual function was added, so if you were, for some reason, relying on dirty always being false when no isEqual function was provided, your code might break. The new default function performs an === check on all the elements of the array. If you need deeper equality checks, that's up to you to provide.