Hook to add Cheat Codes to your App
use-secret-codeis a custom React hook for adding "cheat codes" to your app. It will listen for a given sequence of keystrokes and track whether the corresponding "cheat" is enabled or disabled. You can then react (😏) accordingly (e.g. toggle a feature, pop an alert or notification, etc.).
Just having a little fun here with this throwback to how we used to enter cheat codes in video games!"