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
Why Indie Founders Fail: The Uncomfortable Truths Beyond "Build in Public" User Avatar 89 comments I built a tool that turns CSV exports into shareable dashboards User Avatar 82 comments $0 to $10K MRR in 12 Months: 3 Things That Actually Moved the Needle for My Design Agency User Avatar 68 comments The “Open → Do → Close” rule changed how I build tools User Avatar 54 comments I got tired of "opaque" flight pricing →built anonymous group demand →1,000+ users User Avatar 43 comments A tweet about my AI dev tool hit 250K views. I didn't even have a product yet. User Avatar 42 comments