Skip to content

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

Notifications You must be signed in to change notification settings

makhnatkin/react-final-form-rows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published