v6.6.2
- moved "uid" generation from
componentDidMountto the constructor, otherwise ifenableOnClickOutsidegot called beforecomponentDidMount(i.e. inWrappedComponent's componentDidMount) the handler got registered under undefined "uid"
componentDidMount to the constructor, otherwise if enableOnClickOutside got called before componentDidMount (i.e. in WrappedComponent's componentDidMount) the handler got registered under undefined "uid"