Great!
What about a custom hook which doesn't return anything?
For example a useShortcutKeys hook for passing a callback after user pressed some key combinations
I have tried to use it two times in a component but the second one overrides first one!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Great!
What about a custom hook which doesn't return anything?
For example a useShortcutKeys hook for passing a callback after user pressed some key combinations
I have tried to use it two times in a component but the second one overrides first one!