Custom hook not using useState() properly?

前端 未结 0 1112
南笙
南笙 2020-12-10 03:21

I\'m trying to make one of those custom useKeyPress hooks, and I want my keydown handler to fire on every individual button press, i.e. holding down a key won\'t trigger it

相关标签:
回答
  • 消灭零回复
提交回复
热议问题