Created
January 31, 2016 01:01
-
-
Save chrisirhc/7704323ee25fbcb32b22 to your computer and use it in GitHub Desktop.
DOM diffing, DOM shape, and mouse events (Rendered DOM)
This file contains 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
/* non-hovered */ | |
<div className="has-tooltip" | |
onMouseEnter={this._setHovered} | |
onMouseLeave={this._setNotHovered} | |
></div> | |
/* hovered */ | |
<div className="tooltip-region"> | |
<div className="has-tooltip" | |
onMouseEnter={this._setHovered} | |
onMouseLeave={this._setNotHovered} | |
></div> | |
<div>Hello</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment