10 releases
| 0.1.9 | Aug 13, 2020 |
|---|---|
| 0.1.8 | Jul 31, 2020 |
#21 in #frontend-framework
25 downloads per month
5KB
59 lines
hobo
hobo is a Rust frontend framework. Works on stable Rust.
STILL WIP AND EXPERIMENTAL although used in production by GR Digital
Check out the Book!
- no virtual DOM - html elements are managed manually and can be accessed directly via
web_sys::HtmlElementto manage attributes/contents/etc - no Model-View-Update (aka Elm architecture) - state management is manual, although there are helpful utilities
- no HTML macros - just Rust
- built-in macro-based styling, kind of like JS in CSS except it's just Rust
In practice, the code ends up being no more verbose than with more conventional frontend frameworks, however quite a bit more straightforward.
Roadmap/TODO:
- SSR
CSSStyleSheet.insertRule()in release
Dependencies
~3MB
~68K SLoC