You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the state-of-the-art dependencies already in Cargo.toml
extern declarations for those crates already in src/lib.rs
headless browser testing ready-to-go
some script or makefile or cargo-web type thing that does cargo build --release wasm32-unknown-unknown && wasm-gc ... && wasm-opt ... && xdg-open path/to/index.html
Open questions:
Where should this template live? A new repository?
What dependencies should it come with?
wasm-bindgen? Is this applicable for the pure-Rust webapp use case?
stdweb?
yew?
Other things?
The text was updated successfully, but these errors were encountered:
If the selected backend for this project template offers some kind of synchronising between state in Rust and the dom (e.g. via a render method), it should have an accessible way to do controlled components, as otherwise it becomes easy to get your dom drifting out of sync with your state without noticing.
Note: I did a census of the Rust frameworks I'm aware of in the linked issue and this is an problem in all of them.
(I don't consider libraries which permit manually manipulation of the dom to have this issue, since it's clear that it's up to the user to keep things in sync)
It should have
Cargo.toml
extern
declarations for those crates already insrc/lib.rs
cargo-web
type thing that doescargo build --release wasm32-unknown-unknown && wasm-gc ... && wasm-opt ... && xdg-open path/to/index.html
Open questions:
wasm-bindgen
? Is this applicable for the pure-Rust webapp use case?stdweb
?yew
?The text was updated successfully, but these errors were encountered: