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

Shallow renderer doesn't update on setState() with Hooks #14840

Closed
gaearon opened this issue Feb 13, 2019 · 1 comment · Fixed by #15120
Closed

Shallow renderer doesn't update on setState() with Hooks #14840

gaearon opened this issue Feb 13, 2019 · 1 comment · Fixed by #15120

Comments

@gaearon
Copy link
Collaborator

gaearon commented Feb 13, 2019

See the issue and the test case with original fix in #14802.

We'll need to fix it properly, see #14802 (comment).

@rodrigopr
Copy link
Contributor

I will try to take another look at this, starting with adjusting comments/code to align with new behavior.
You mentioned it might need a larger refactoring, do you have anything in mind? Should it be a part of this change?

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

Successfully merging a pull request may close this issue.

2 participants