Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/routes/concepts/components/event-handlers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ As a result, there is no requirement for these functions to be reactive.
## Event delegation

Instead of attaching event listeners to every individual element, Solid uses _synthetic event delegation_, through the [`on__`](/reference/jsx-attributes/on_) form .
In this method event listeners are attached to the `document` element, and dispatch events to the relevant elements as they bubble up.
In this method, event listeners are attached to the `document` element and dispatch events to the relevant elements as they bubble up.

By keeping the number of event listeners to a minimum, events can be captured more effectively.
This is especially useful when working with a large number of elements, such as in a table or list.
Expand Down