Practical Tips on DOM and JS APIs from Rust
summary
Shows a working web app written entirely in Rust and running in the browser, with concrete code for DOM manipulation, subscribing and removing event listeners, and mapping JS errors into Rust Results. Uses wasm-bindgen with web-sys and js-sys and demonstrates helper patterns and small wrappers that cut repetitive glue code. Includes a live demo of event callbacks and error handling that compiles to Wasm and actually runs, not just pseudocode.
AI-written summary · about
chapters (5)
- 0:00Introduction
- 5:47DOM manipulation basics
- 12:30Rust to JavaScript interop
- 17:06Performance pitfalls
- 20:12Q&A
related talks
22mExtending JavaScript with Rust
25mThink About Front-end Web Development with Rust
30mRust in the Browser for Javascripters:New Frontiers,New Possibilities
06mFor The Love Of Web Assembly
30mUnderrated gems of Rust & WebAssembly: Errors, Async, I/O
06mMaking the Web Work Natively
01h 02mRust and WebAssembly
30mRust and the Web Platform: A Rookie’s Guide
