react-hotkeys v2.0.0-pre2 Release Notes
Release Date: 2019-01-13 // about 5 years ago-
Potentially breaking changes
- โ Removed upper limit on React peer dependency version.
๐ New features
Can now generate an application key map
It's now possible to generate a list of hotkeys for the application to display to the user.
๐ New innerRef prop
Thanks to #124,
<ReactHotkeys />
now accepts aninnerRef
prop:class MyComponent extends Component { componentDidMount() { this.\_container.focus(); } render() { return ( \<HotKeys innerRef={ (c) =\> this.\_container = c } \> My focusable content \</div\> ) } }