Skip to content

ToJen/react_rust_wasm

Repository files navigation

react_rust_wasm

Playing around with some WASM and Rust.

Based off this article by @anderspitman.

To run

This repo uses npx!

Configure Rust

  • rustup default nightly
  • rustup target add wasm32-unknown-unknown
  • cargo install wasm-bindgen-cli

Setup repo

  • npm i
  • npm i -g http-server # this makes life easy
  • mkdir build && npm run build
  • npm start # runs on port 8080

Releases

No releases published

Packages

No packages published