mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
remove dead link
the event handling doc page no longer exists
(cherry picked from commit 4ab62a6bd2)
This commit is contained in:
committed by
Paul O’Shannessy
parent
3d78d30f49
commit
764ca84e02
@@ -489,7 +489,7 @@ var CommentForm = React.createClass({
|
||||
|
||||
React attaches event handlers to components using a camelCase naming convention. We attach an `onSubmit` handler to the form that clears the form fields when the form is submitted with valid input.
|
||||
|
||||
We always return `false` from the event handler to prevent the browser's default action of submitting the form. (If you prefer, you can instead take the event as an argument and call `preventDefault()` on it – read more about [event handling](event-handling.html).)
|
||||
We always return `false` from the event handler to prevent the browser's default action of submitting the form. (If you prefer, you can instead take the event as an argument and call `preventDefault()` on it.)
|
||||
|
||||
##### Refs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user