Yew tutorial not working correctly? (yew.rs)
from exocortex@discuss.tchncs.de to rust@programming.dev on 09 Nov 2023 09:39
https://discuss.tchncs.de/post/6020221

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.

#rust

threaded - newest

KiranWells@pawb.social on 12 Nov 2023 04:45 collapse

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.