Skip to content

Instantly share code, notes, and snippets.

@Clarity-89
Created September 5, 2022 18:07
Show Gist options
  • Save Clarity-89/b5110a8f1378afe65a715c65f0f2af41 to your computer and use it in GitHub Desktop.
Save Clarity-89/b5110a8f1378afe65a715c65f0f2af41 to your computer and use it in GitHub Desktop.
<input
id="name"
onChange={(event) => setState({ ...state, name: event.target.value })}
/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment