Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tutorial error about fetching data #3663

Open
1 task done
ssrlive opened this issue May 16, 2024 · 1 comment
Open
1 task done

Tutorial error about fetching data #3663

ssrlive opened this issue May 16, 2024 · 1 comment

Comments

@ssrlive
Copy link

ssrlive commented May 16, 2024

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

@BartMassey
Copy link

The problem I had here, for Firefox at least, is that once the client gets a CORS error Firefox won't allow the request to be retried once the proxy server is up. Even shift-reload doesn't seem to reset things. Easy workaround is to just connect again in a new tab.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants