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

[bugfix] nodeHasId has issue with 0.14 in some cases #65

Merged
merged 1 commit into from
Dec 10, 2015

Conversation

lelandrichardson
Copy link
Collaborator

to: @ljharb @goatslacker

The spec that was added in this PR would succeed in React 0.13 but fail in React 0.14 due to some changes in behavior from the two. This had been abstracted away for some selectors (like class name) through the correct propsOfNode(node) function, but the nodeHasId function was still prone to these issues.

Thanks to @clouddra for pointing out.

Fixes #64

@ljharb
Copy link
Member

ljharb commented Dec 10, 2015

LGTM

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

Successfully merging this pull request may close these issues.

2 participants