made with react.js

Use Secret Code

Hook to add Cheat Codes to your App

Visit Site

Description

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!"


Creator

Justin Hall
@wKovacs64


Social Media Links

state-in-url State Management & URL Sync
icon-eye-dark Created with Sketch. 289
Simple React Validator React & React Native Form Validator
icon-eye-dark Created with Sketch. 1.241
Sentry for React React Application Monitoring
💙 Sponsored by Friends
image-chart Created with Sketch.
Looking for a React.js Admin Template? Find the best ones here!
React Mentions @mention People in Textareas
icon-eye-dark Created with Sketch. 4.022
React Hooks Testing Library Hooks Testing Utilities
icon-eye-dark Created with Sketch. 405