dillon1000/react

Commit

Update examples to use onInput instead of onKeyUp

onInput has the advantage that it responds to repeated key events before
onKeyUp and is called when modifying the input without the keyboard
(such as pasting with the mouse).

Test Plan:
Opened the ballmer-peak example and docs homepage in Chrome and checked
that both examples update whenever the text is changed.
Browse files
Changed paths2 files
First-parent comparison
M docs/_js/examples/markdown.js ModifiedM examples/ballmer-peak/example.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…