From 14ffb144c3a84820f357728ebd5044e0fe3990f2 Mon Sep 17 00:00:00 2001 From: Tommy <7282254+tt0mmy@users.noreply.github.com> Date: Mon, 24 Mar 2025 19:31:07 -0700 Subject: [PATCH] Update event-handlers.mdx updates punctuation --- src/routes/concepts/components/event-handlers.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/concepts/components/event-handlers.mdx b/src/routes/concepts/components/event-handlers.mdx index f17764181..13d708567 100644 --- a/src/routes/concepts/components/event-handlers.mdx +++ b/src/routes/concepts/components/event-handlers.mdx @@ -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.