Description
Percy is a Rust framework for building frontend browser apps with WebAssembly. It supports server side rendering, client side rendering, or both together, so an app can render on the server and then take over in the browser. The best place to learn it is The Percy Book, a full walk through of the framework, and the README gives a quickstart that builds a small client side rendered app. The quickstart creates a new project, adds a few source files, and runs the app, and it notes what the result should look like. More examples in the README cover an isomorphic web app that renders on both sides, and unit testing view components. The API documentation is split into several crates: percy-dom for the DOM layer, html-macro for the markup macro, and percy-router for routing. The project welcomes issues and pull requests, including questions that the documentation does not answer yet. Tests cover unit, integration and browser tests, and the code is released under the MIT license.…
Highlights
- Rust framework for WebAssembly browser apps
- Client side, server side, or isomorphic rendering
- Quickstart and The Percy Book guide
- Crates for DOM, markup macros and routing
- Unit, integration and browser tests
Ratings & Reviews
No ratings yet
Be the first to rate Percy.
People also visit
Rust Yew Realworld Example App
Exemplary real world app built with Rust + Yew + WebAssembly
Percy FAQ
What is Percy?
A Rust framework for building frontend browser apps with WebAssembly, with optional server side rendering.
Who is it for?
Rust developers who want to build browser apps in Rust rather than JavaScript.
Does it support server side rendering?
Yes. Apps can be server side only, client side only, or both, and the README includes an isomorphic example.
Where do I start?
Read The Percy Book, or follow the quickstart in the README, which builds a small client side rendered app.
What license is it under?
MIT.
Is it free?
Yes. The source is public on GitHub under the MIT license.
What are the best Percy alternatives?
Popular alternatives to Percy include Webapp.rs, fusor and Webui. See all Percy alternatives
