Skip to content

Instantly share code, notes, and snippets.

View StokeMasterJack's full-sized avatar

David Ford StokeMasterJack

View GitHub Profile
Shift + Cmd + p -> Rename File
@StokeMasterJack
StokeMasterJack / DoubleClickDups1.js
Last active September 5, 2022 09:25
Prevent Double-Click Dups in React
function App() {
const onClick = () => console.log("onClick");
return <button onClick={onClick}>Click Me</button>;
}