Skip to content

Instantly share code, notes, and snippets.

@rbiggs
Created February 3, 2019 17:43
Show Gist options
  • Select an option

  • Save rbiggs/5a8e92219feeef4161b91ffe6f850843 to your computer and use it in GitHub Desktop.

Select an option

Save rbiggs/5a8e92219feeef4161b91ffe6f850843 to your computer and use it in GitHub Desktop.
Update state from user input
<input type="text" oninput={ e => send({type: 'updateInputValue', value: e.target.value})} />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment