Skip to content
 
 

Latest commit

 

History

2,078 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

create-react-app with support for Rust Build Status PRs Welcome

This project is a fork of Facebook's create-react-app with support for Rust that compiles to WebAssembly.

Create React App works on macOS, Windows, and Linux. However Rust tools may behave diferently on Windows in certain circumstances.

If something doesn’t work, please file an issue.

Quick Overview

If you haven't already you'll need to install Rust and source it into your current context

curl https://sh.rustup.rs -sSf | sh
source $HOME/.cargo/env

Then you can run the tool with npx

npx create-react-app my-app --scripts-version react-scripts-rust
cd my-app
npm start

(npx comes with npm 5.2+ and higher, see instructions for older npm versions)

Then open http://localhost:3000/ to see your app.

When you’re ready to deploy to production, create a minified bundle with npm run build.

npm start

Vision

The following articles inspired the effort to combine rust, React, and WebAssembly:

About

Create React apps with no build configuration.

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages