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

Calling props() after a state change should be updated to find() #1300

Merged
merged 1 commit into from Apr 24, 2019
Merged

Calling props() after a state change should be updated to find() #1300

merged 1 commit into from Apr 24, 2019

Conversation

peter-mouland
Copy link
Contributor

This PR has come about from this issue: #1299

If I have misunderstood anything please let me know.

Thanks

This PR has come about from this issue: #1299
@bregenspan
Copy link

As far as I understand it, this is a side effect of https://github.com/airbnb/enzyme/blob/master/docs/guides/migration-from-2-to-3.md#element-referential-identity-is-no-longer-preserved, so maybe it makes sense to put this as a sub-head under that?

@ljharb ljharb changed the base branch from master to autorebase April 9, 2019 07:04
@ljharb ljharb changed the base branch from autorebase to master April 9, 2019 07:09
@ljharb ljharb force-pushed the master branch 4 times, most recently from 40cc703 to 0a17404 Compare April 12, 2019 23:05
@ljharb
Copy link
Member

ljharb commented Apr 23, 2019

@peter-mouland any interest in updating this PR?

@peter-mouland
Copy link
Contributor Author

hey, yeah - can do, do you have any stats on how many people look at the migrate docs now?

@ljharb
Copy link
Member

ljharb commented Apr 24, 2019

I'm afraid github doesn't offer any of those stats :-/ but i did get a bug or three filed about its content in the last 6 months, so it's not nobody!

@peter-mouland
Copy link
Contributor Author

cool - consider it updated. I've also updated the example to make it more consistent / readable (it was a while ago i wrote this up, old code never looks good 🤦‍♂️ !!)

Copy link
Member

@ljharb ljharb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I simplified it a bit and included a component definition.

@ljharb ljharb merged commit 2d5f20f into enzymejs:master Apr 24, 2019
@peter-mouland peter-mouland deleted the patch-2 branch December 18, 2019 00:26
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.

None yet

3 participants