this post was submitted on 09 Nov 2023
6 points (100.0% liked)

Rust

5654 readers
18 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

[email protected]

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS
 

Hi! I tried out yew last night and was going through the tutorial (the link). At the end the tutorial is using a link to an external resource. My guess is that the tutorial app shall create a website with a list of (empty) videos that is created by reading an external json-file from the yew-website. The problem is that this doesn't work for me, the list stays empty. I also don't find the full source of this example somewhere. On the site it is only iteratively described. I am pretty sure I have everything like on the website.

top 1 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 9 months ago

The link they use is working for me; what is the code you are using to fetch the data?

Also, dbg!() is a very useful macro for inspecting state. Might help see what is going on.