Expand description
The crate which removes most of the boilerplate from Ruukh apps.
This lib defines #[component], #[derive(Lifecycle)] and html! macros.
Macros§
- html
html!macro to parsevue-inspired syntax to generate Markup.
Attribute Macros§
- component
#[component]macro to deriveComponenttrait as well as to do modifications to the struct. It does all the heavy lifting which the user would have to do, to make the component work.
Derive Macros§
- Lifecycle
- A convenient auto derive for
Lifecycletrait. It could be simply written asimpl Lifecycle for MyComponent {}instead, but why not save some chars. You may use it like: