Skip to content

Instantly share code, notes, and snippets.

@15Dkatz
Created January 27, 2019 22:21
Show Gist options
  • Save 15Dkatz/043532d6e0e677b8c9ccd8d994c70116 to your computer and use it in GitHub Desktop.
Save 15Dkatz/043532d6e0e677b8c9ccd8d994c70116 to your computer and use it in GitHub Desktop.
const INITIAL_GAME_STATE = { victory: false, startTime: null, endTime: null };
const [snippet, setSnippet] = useState('');
const [userText, setUserText] = useState('');
const [gameState, setGameState] = useState(INITIAL_GAME_STATE);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment