Skip to content

Proposal : make the "component events" section of the tutorial more complete #4642

Closed as not planned
@MeuhMeuh

Description

@MeuhMeuh

Is your feature request related to a problem? Please describe.

I was going through the (great) tutorial and found out that the component events section was missing a crucial point about the on:message attribute that was set on the App component. Without this, it could be complicated for beginners to understand the principles of having a dispatcher & a(some) listener(s) and how they work in Svelte.

Describe the solution you'd like
I created a PR to add a section about the listener part (e.g. the on:message attribute on the App component) with an invitation to add & remove this attribute to understand what it does, and change its name: #4639

Describe alternatives you've considered

Maybe having an even more explanation of the concept ? It could be interesting to provide a link to one of the multiple pages that explain this concept, however I guess that the goal is to have something as light as possible.

The section "solution" could also be changed - I'm up for suggestions.

How important is this feature to you?

Having people understand matters! :)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions