Closed jacekradko closed 6 years ago
Hi @jacekradko - Thanks for identifying this issue and providing a fix. You are awesome! I made a comment on the code. Please have a look and let me know your thoughts. Thanks!
@ethanselzer I made the changes as you suggested.
Same in react-hover-observer
With the React 16.5.0 release, this component's use of
isReactComponent
breaks React'sshouldConstruct
check. Here is a more detailed explanation of the problem: https://github.com/facebook/react/issues/13580Here is a working demo of the bug: https://codesandbox.io/s/nm1nn0374