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

Fix state initialization for shallow renderer #11965

Merged
merged 1 commit into from
Jan 5, 2018

Conversation

jwbay
Copy link
Contributor

@jwbay jwbay commented Jan 5, 2018

Fixes #11964

@gaearon gaearon merged commit 39be835 into facebook:master Jan 5, 2018
@gaearon
Copy link
Collaborator

gaearon commented Jan 5, 2018

Thanks!

@jwbay jwbay deleted the shallowstate branch January 6, 2018 01:20
yenshih pushed a commit to yenshih/react that referenced this pull request Jan 6, 2018
ManasJayanth pushed a commit to ManasJayanth/react that referenced this pull request Jan 12, 2018
This was referenced Mar 30, 2018
ljharb added a commit to enzymejs/enzyme that referenced this pull request Oct 2, 2018
…starts out `null` when unspecified on a custom component

Fixes #1849.

This bug in react's shallow renderer was fixed in
facebook/react#11965, and only exists in React
v16.0 - v16.2.
NMinhNguyen referenced this pull request in enzymejs/react-shallow-renderer Jan 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants