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

React Native Track Player Audio Module for Music Apps
icon-eye-dark Created with Sketch. 246
Zustand State-management Library
icon-eye-dark Created with Sketch. 220
Sentry for React React Error Monitoring
💙 Sponsored by Friends
image-koala Created with Sketch.
Make this Koala happy and follow us on Twitter!
Beautiful React Hooks Collection of useful React Hooks
icon-eye-dark Created with Sketch. 1.000
useUndoable Undo/Redo Hook
icon-eye-dark Created with Sketch. 428