I’m having a hard time wrapping my head around getting the user hotkey after they’ve changed it using React. It’s simple enough for me to make a
getHotKey method on the
componentDidMount() and set it to a state.
But how would I go about re-checking for it after they click on the settings icon and change it in their OW settings?
The component wouldn’t be remounting at that point, so it wouldn’t refresh. Any ideas would be greatly appreciated.