3 ms·
I like the attribute-based approach to wasm bindings in rust, it keeps it clean and to one file, and refreshing how you just have a plain HTML file and just ins
by jasonthorsness 2y ago
I like the attribute-based approach to wasm bindings in rust, it keeps it clean and to one file, and refreshing how you just have a plain HTML file and just instantiate the module with
import init, { Checkers } from "./pkg/checkers.js";
- J_Shelby_J 2y agoI wish the Rust web frameworks were this simple. I mean, they're not insane, but they're just really complex due to all of the use cases they support. Dioxus needs a "lite" mode.