You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can switch between the versions, which should result in the described behaviour. Could it be, that this use case handling arrays and objects should be handled differently now?
The text was updated successfully, but these errors were encountered:
I faced same issue. The form infinitely re-render if I use array format in initialvalues and validator.
Took a deep look into react-final-form implementation and found they uses useConstant for validation, initialvalues, etc.
Are you submitting a bug report or a feature request?
bug report
What is the current behavior?
Since version
1.0.1
it seems, that values initialized with an empty array leads to aMaximum call stack size exceeded
error.What is the expected behavior?
That I can operate on this array like in version
1.0.0-alpha.1
.Sandbox Link
https://codesandbox.io/s/react-final-form-hooks-simple-example-82tcn?fontsize=14&hidenavigation=1&theme=dark&file=/src/index.js
You can switch between the versions, which should result in the described behaviour. Could it be, that this use case handling arrays and objects should be handled differently now?
The text was updated successfully, but these errors were encountered: