Skip to content

Releases: ethanselzer/react-hover-observer

Do not declare isReactComponent

08 Sep 19:41
Compare
Choose a tag to compare

Fixes #8

With the React 16.5.0 release, this component's use of isReactComponent breaks React's shouldConstruct check. Here is a more detailed explanation of the problem: facebook/react#13580

Support Function as Child Component

21 Jan 05:22
Compare
Choose a tag to compare

Release Notes

  • Please see readme for details
  • Special thanks to @ElGrecode for suggesting this feature!

Support React 16

09 Oct 05:09
Compare
Choose a tag to compare

Release Notes

Support React 16
Upgrade dependencies
Bug fix: If child component renders null react-hover-observer throws exception

Support React 15.5 and New Defaults

25 May 00:36
Compare
Choose a tag to compare

Notes

  • Support React 15.5
  • onMouseEnter prop now defaults to setting isHovering
  • onMouseLeave prop now defaults to unsetting isHovering
  • Four new editable examples hosted on CodePen
  • Test coverage monitored by Coveralls
  • Package now includes CommonJS, ES6, and UMD modules
  • Upgrade dependencies