No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
Cargo.lock
Cargo.toml
LICENSE
Makefile
README.md
index.html
index.js
package.json
webpack.config.js

README.md

Hello World with virtual-dom-rs

This was one of the coolest libraries i've seen doing virtual DOM in Rust. I was disappointed though it didn't have any simple examples nor is the crate on cargo up to date. So I made this project to show the most simplest utilization of a client side app using entirely wasm-bindgen, web-sys, and virtual-dom-rs.

No javascript required (asside what wasm-bindgen auto creates ;) )!

You are going to need some things unfortunately:

  • cargo with nightly and wasm target
  • nodejs + npm ( this is a dependency of wasm-bindgen)
  • make

How to run:

make setup
make
make serve
http://localhost:8080

if you want to edit it after its running, just open up a new tab and run make to generate new wasm binary, you shouldn't have to restart the server.