Hi,
First off, thanks for a great mixin! I'm looking manual hooks similar to what componentDidMount and componentWillUnmount already do, allowing this sort of functionality:
componentWillReceiveProps(nextProps) {
if (nextProps.isHotkeyActive) {
hotkey.activate();
} else {
hotkey.deactivate(); // hotkey.disable unregisters all listeners :/
}
},
Is this something you're planning on adding support for?
Hi,
First off, thanks for a great mixin! I'm looking manual hooks similar to what
componentDidMountandcomponentWillUnmountalready do, allowing this sort of functionality:Is this something you're planning on adding support for?