final-form / react-final-form

🏁 High performance subscription-based form state management for React
https://final-form.org/react
MIT License
7.39k stars 481 forks source link

Fixed isEqual register initalization #1033

Open mjchang opened 1 year ago

mjchang commented 1 year ago

Remove the unnecessary isEqual function definition. This was necessary because https://github.com/final-form/react-final-form/issues/1032 is fixed by updating the field isEqual every time registerField is called. This fix relies on the fact that isEqual is only defined when necessary which this change does.

codesandbox-ci[bot] commented 1 year ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 0eb8e6f6f886c8342ef09bccb2e2adecc4898f68:

Sandbox Source
final-form/react-final-form Configuration
final-form/react-final-form Configuration
final-form/react-final-form Configuration
final-form/react-final-form Configuration
final-form/react-final-form Configuration