A framework for creating reliable and efficient web applications
open sourceMIT OR Apache-2.0free
Yew is a Rust framework for building web front ends that compile to WebAssembly. It's component-based, so developers who know React or Elm feel at home, and its html! macro declares interactive HTML with Rust expressions much as JSX does. It also renders on the server, for the SEO of a server-rendered app with the feel of a single-page app. It keeps DOM calls to a minimum, makes it easy to move work to background web workers, and interoperates with JavaScript, so apps can use npm packages.
Problems it solves
- build a web front end in Rust instead of JavaScript
- a React-like framework for Rust and WebAssembly
- write a single-page app in Rust that compiles to Wasm
- server-side render a Rust web front end
Features
- component-based
- html! macro
- server-side rendering
- compiles to WebAssembly
- background web workers
- JavaScript and npm interop
Alternatives
The same job
These do what Yew does.
- Leptos Full stack, fully typed. A cutting-edge Rust framework for the modern web.
