Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 901 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 901 Bytes

React Final Form Rows

An alternative to the final-form-arrays library using normalized data instead of an array

API

Almost te same https://final-form.org/docs/final-form-arrays/api

Examples

Draggable example

https://codesandbox.io/s/react-final-form-rows-field-array-alternative-react-dnd-as-drag-drop-6vrpy6

Pay attention to the re-renders that occur only when adding a string. This happens because the array index is not recalculated. This approach also helps to solve other problems related to using the unshift method, for example.

ezgif-4-9aa3917cd0