Using with redux
bill-oneil opened this issue · comments
bill-oneil commented
How is the react-onclickoutside used with redux?
I used this as follow, but don't received xxx and yyy from UNSAFE_componentWillReceiveFromProps.
var clickOutsideConfig = {
excludeScrollbar: true
};
export default connect (
(state) => ({
xxx: state.vvvModule.get('xxx'),
yyy: state.zzzModule.get('yyy'),
}),
null
)(onClickOutside(CustomPicker, clickOutsideConfig));