Skip to content

Instantly share code, notes, and snippets.

@harokevin
Last active June 24, 2021 21:38
Show Gist options
  • Save harokevin/cfb509d40c570a846e99175520a24540 to your computer and use it in GitHub Desktop.
Save harokevin/cfb509d40c570a846e99175520a24540 to your computer and use it in GitHub Desktop.
onChange ≠ onClick
This is a reminder to use the correct prop to get the expected data back.
Make sure to look through GH Issues, GH PRs, Stack Overflow, GH Source, try bumping the version, GH source of a the bumped version, and debugging (in that order) before checking prop names.
onChange ≠ onClick
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment