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

Can only update a mounted or mounting component (Submit). #139

Open
DeividasBakanas opened this issue Sep 21, 2017 · 1 comment
Open

Can only update a mounted or mounting component (Submit). #139

DeividasBakanas opened this issue Sep 21, 2017 · 1 comment

Comments

@DeividasBakanas
Copy link
Member

Submit component is rendered out of the form before form is mounted. If Submit component is unmounted before Form is mounted error is raised.

image

Error reproduction: https://codesandbox.io/s/yjq0mm6m11

Click Toggle submit, then Toggle form and you'll get the error.

DovydasNavickas added a commit that referenced this issue Sep 22, 2017
DovydasNavickas added a commit that referenced this issue Sep 22, 2017
* TypeScript 2.5.2.

* Closes #139.

* v4.3.3
@DovydasNavickas
Copy link
Member

Done: 513172f
(with a temporary setTimeout in one place, so I'm not closing the issue)

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

2 participants