Rust_WASM_Svelte_Playground

Rust_wasm_svelte_playground

Playground for interaction of Rust code with a Svelte web app

Rust-WASM-Svelte-Playground

Playground and showcase for WASM (from Rust code) + Svelte web app interaction

(Based on this tutorial)

... in a nutshell

TLDR: A presentation can be found here (HTML version also available; source here based on Marp markdown)

Code

Interaction

Works via Rust WASM Bindgen which can be picked up from JS as seen here in main.js

Nice: Hot reload works for Rust code out-of-the-box (via WASM Rollup plugin) - just keep the Svelte app running.

Top categories

Loading Svelte Themes