Skip to content

Fix state initialization for shallow renderer - #11965

Merged
gaearon merged 1 commit into
react:masterfrom
jwbay:shallowstate
Jan 5, 2018
Merged

Fix state initialization for shallow renderer#11965
gaearon merged 1 commit into
react:masterfrom
jwbay:shallowstate

Conversation

@jwbay

@jwbay jwbay commented Jan 5, 2018

Copy link
Copy Markdown
Contributor

Fixes #11964

@gaearon
gaearon merged commit 39be835 into react:master Jan 5, 2018
@gaearon

gaearon commented Jan 5, 2018

Copy link
Copy Markdown
Collaborator

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
@ghost ghost mentioned this pull request Apr 2, 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
react/react#11965, and only exists in React
v16.0 - v16.2.
NMinhNguyen referenced this pull request in enzymejs/react-shallow-renderer Jan 29, 2020
mrizwanashiq pushed a commit to mrizwanashiq/react that referenced this pull request Jun 25, 2026
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