diff --git a/beta/src/content/learn/responding-to-events.md b/beta/src/content/learn/responding-to-events.md index 2bf26bde..59ce0d73 100644 --- a/beta/src/content/learn/responding-to-events.md +++ b/beta/src/content/learn/responding-to-events.md @@ -67,7 +67,7 @@ You defined the `handleClick` function and then [passed it as a prop](/learn/pas * Are usually defined *inside* your components. * Have names that start with `handle`, followed by the name of the event. -> By convention, it is common to name event handlers as `handle` followed by the event name. You'll often see `onClick={handleClick}`, `onMouseEnter={handleMouseEnter}`, and so on. +By convention, it is common to name event handlers as `handle` followed by the event name. You'll often see `onClick={handleClick}`, `onMouseEnter={handleMouseEnter}`, and so on. Alternatively, you can define an event handler inline in the JSX: @@ -126,7 +126,7 @@ In both cases, what you want to pass is a function: * `