final-form / final-form/react-final-form
[BUG] Form decorators should not change from one render to the next as new values will be ignored
- Dominant language
- JavaScript
- Stars
- 7.4k
- Forks
- 497
- PR merge metrics
- No merged PRs in 30d
Description
### Are you submitting a **bug report** or a **feature request**?
Please guys check the code down below in the sandbox. The same decorators but getting an error about `decorators change`.
It is probably a bug. Cause when I `console.log` decorators they're always the same but I'm getting an error: `Form decorators should not change from one render to the next as new values will be ignored `
### What is the current behavior?
Getting an error about decorators change. but they're the same. Check screenshot:

### What is the expected behavior?
Should not throw an error if the decorators are the same.
### Sandbox Link
https://codesandbox.io/s/naughty-panini-ycjd9?file=/src/App.js
### What's your environment?
"react-final-form": "^3.6.3",
"final-form": "^4.8.1",
"final-form-arrays": "^1.0.4",
"final-form-calculate": "^1.2.1",
### Other information
Contributor guide
Assessment
This issue has not been assessed yet.