learn.svelte.dev
learn.svelte.dev copied to clipboard
Add explanation why I should want do forward DOM events.
https://learn.svelte.dev/tutorial/dom-event-forwarding
In this chapter, it says that you can also forward DOM events. However, the previous chapter starts with “Unlike DOM events, component events don't bubble.”
So, I wonder why I'd want to forward DOM events explicitly.