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

remove querySelector and use findDOMNode instead #19

Merged
merged 1 commit into from
Jun 23, 2015

Conversation

bezreyhan
Copy link
Contributor

I removed document.querySelector and used React.findDOMNode(this) instead. This allows us to cleanup the code a bit. It should also be a bit more efficient since we are not querying the DOM as much.

wwayne added a commit that referenced this pull request Jun 23, 2015
remove querySelector and use findDOMNode instead
@wwayne wwayne merged commit 736beb2 into ReactTooltip:master Jun 23, 2015
@wwayne
Copy link
Collaborator

wwayne commented Jun 23, 2015

👍

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

Successfully merging this pull request may close these issues.

2 participants