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

Rust

5999 readers
47 users here now

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

Wormhole

!performance@programming.dev

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
[–] KiranWells@pawb.social 1 points 1 year 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.