React Rust Fetch Json #4167
Unanswered
empyrean987
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I've tried to get the web-sys fetch example working with react but to no avail.
https://rustwasm.github.io/wasm-bindgen/examples/fetch.html
I used this how to doc on how to create the react/rust app but adding the fetch part is challenging
https://www.tkat0.dev/posts/how-to-create-a-react-app-with-rust-and-wasm/
If you could post an example of using fetch to retrieve the same json object but display in a react front end.
Thanks,
Mike Knox
Beta Was this translation helpful? Give feedback.
All reactions