yewstack / yewstack/yew

Document how to send messages to children components

Open
#905 4 comments 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

documentation
Dominant language
Rust
Stars
32.8k
Forks
1.5k
Avg merge
5h 34m
Merged PRs (30d)
2

Description

Not sure how formal the support for this feature should be, but at the moment is possible using the approach in the nested list example here:
https://github.com/yewstack/yew/blob/master/examples/nested_list/src/app.rs

So I think it deserves a write up in the docs

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with examples/nested_list/src/app.rs, which demonstrates sending messages to child components. Review the current documentation structure and use that example to explain the supported approach; the work is done when users can find a clear guide for sending messages to children.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.