Created
July 28, 2015 13:55
-
-
Save Willmo36/8e43dbe5d43d01efc617 to your computer and use it in GitHub Desktop.
Get the React ID of a component instance. Useful for tracing multiple instances of components
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| this.getDOMNode().attributes['data-reactid'].value |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment