Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
componentDidMount() {
// could probably use toKana() in handleKeyDown instead?
// depends on any quirks of IMEMode handling selection and 3char chunks
bind(this.inputFieldRef);
this.inputFieldRef.addEventListener('keydown', this.handleKeyDown);
}