Explore the architecture of Yew, a Rust framework for frontend development inspired by Elm and ReactJS, in this 30-minute conference talk from RustFest Paris 2018. Discover how Denis Kolodin created this framework for single-page webapps using Rust and WebAssembly. Learn about wasm compilation challenges, JSX-like templates generated with pure Rust macros, and how lifetime rules prevent model copying. Understand the framework's design without a garbage collector, competing in the JavaScript ecosystem. The talk covers topics including minimal application structure, build context, services, templates, Virtual DOM implementation, JS Macro, and HTML Micro. Gain insights into Yew's future plans and participate in a Q&A session to deepen your understanding of this innovative Rust+WebAssembly framework for client-side web applications.
Overview
Syllabus
Intro
Agenda
Minimal application
Build
Context
Services
Templates
Virtual DOM
JS Macro
HTML Micro
Future plans
Questions
Taught by
Rust