Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FormSpy onChange causes warning "Cannot update a component while rendering a different component" #797

Open
weberlance opened this issue May 19, 2020 · 1 comment

Comments

@weberlance
Copy link

weberlance commented May 19, 2020

Are you submitting a bug report or a feature request?

Bug report

Sandbox Link

https://codesandbox.io/s/final-form-spy-onchange-xxnem?file=/src/App.js

What's your environment?

"final-form": "4.19.1",
"react": "16.13.1",
"react-final-form": "6.4.0",

A warning appears only during the first render.

formspy_onCange_issue

@weberlance
Copy link
Author

#809

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant