Tutorial error about fetching data

Open
#3,663 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Quiet
Tech stack
rust
Domain
documentation

Research direction

Start with the Yew tutorial's “Fetching data using external REST API” section at the linked URL and reproduce the reported failure using its documented setup. Identify the inaccurate instruction or configuration, then update the tutorial so the example works reliably and verify the revised steps with the external API.

Written by the indexing model from the issue text.

Description

documentation

This is about:

  • Innaccurate/misleading documentation (e.g. technically incorrect advice)

https://yew.rs/zh-Hans/docs/tutorial#fetching-data-using-external-rest-api

When I follow the tutorial to pull data, it always fails. After I put the data locally and modify the port, it sometimes succeeds, but most of the time it fails. Please correct this error.

image

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

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.

More from yewstack/yew

All issues in yewstack/yew

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.