4
4 Comments

How to add keyboard shortcuts to your React app

submitted this link to Icon for group Learning to Code
Learning to Code
on August 18, 2021
  1. 1

    Seems like a good tutorial for people trying to understand events in React. From a practical perspective though I think it's probably better to use a library like react-hotkeys... maybe something you should mention at the end of your article.

    1. 1

      Thanks! Yeah indeed, using a library vs building your own is always a decision you have to take. I think it's important to know how are things are working though, even if you end up using a pre-made library for it.

  2. 1

    Hey all, author here!

    I'm glad to be sharing with you all this new article. Feel free to give me feedback, suggestions, or to ask any type of question on the article!

Trending on Indie Hackers
I'm a lawyer who launched an AI contract tool on Product Hunt today — here's what building it as a non-technical founder actually felt like User Avatar 151 comments Never hire an SEO Agency for your Saas Startup User Avatar 82 comments A simple way to keep AI automations from making bad decisions User Avatar 65 comments “This contract looked normal - but could cost millions” User Avatar 54 comments 👉 The most expensive contract mistakes don’t feel risky User Avatar 41 comments We automated our business vetting with OpenClaw User Avatar 34 comments