made with react.js

Use Secret Code

Hook to add Cheat Codes to your App

Visit Site


Hook to add Cheat Codes to your App

"use-secret-code is 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!"


Justin Hall

Social Media Links

useTilg React Hook for Debugging
icon-eye-dark Created with Sketch. 225
React Native Sensors Get Sensor Data in React Native
icon-eye-dark Created with Sketch. 938
Sentry for React React Application Monitoring
πŸ’™ Sponsored by Friends
We’re hosting on Digital Ocean! πŸ’™ Try it today and get a free $100 credit.
Informed React Form Library
icon-eye-dark Created with Sketch. 2.978
React Thermal Printer React for Thermal Printing
icon-eye-dark Created with Sketch. 941