Rust (wasm) support
See original GitHub issueI’ve just started to play around with this https://github.com/thomashorrobin/create-react-app-rust create-react-app
fork that adds rust support. I had some problems with typescript using it and decide to rebase
on top of the latest create-react-app
to not waste time debugging for something that’s already fixed here. While doing this I realised that the actual changes for rust seem minimal. I’m not sure if there was ever a discussion about folding this fork into this project. I couldn’t find anything in the issues to that extent.
My question is: would it be of interest to include Rust (via WASM) support in this package directly, or maintain the separate fork? If there’s interest I can rebase
again and prepare the fork to be submitted as a PR. Thanks!
Issue Analytics
- State:
- Created 5 years ago
- Reactions:13
- Comments:13 (2 by maintainers)
Not to co-opt this thread but for posterity, I wrote about a solution to this using react-app-rewired: https://prestonrichey.com/blog/react-rust-wasm/. Obviously vanilla CRA support for Wasm would be great but this might be a resource for others playing around in this space in the meantime.
@ponchofiesta Did you set your
wasm-bindgen
version as specified here? https://github.com/rustwasm/book/issues/148#issuecomment-463809784