final-form / react-final-form-arrays

A component for rendering and editing arrays 🏁 React Final Form
MIT License
205 stars 70 forks source link

isEqual on <FieldArray> runs once #139

Open Noitidart opened 4 years ago

Noitidart commented 4 years ago

Are you submitting a bug report or a feature request?

What is the current behavior?

isEqual on <FieldArray> only runs once at start. i see the console.log only once.

<FieldArray isEqual={() => {
console.log('here');
return true;
}}>

What is the expected behavior?

It should run on every change.

Sandbox Link

I will do.

What's your environment?

Firefox 77. node - v13.11.0 npm - v13.11.0 "react-final-form": "^6.5.0", "react-final-form-arrays": "^3.1.1", "final-form": "^4.20.0", "final-form-arrays": "^3.0.2",