1 unstable release

0.0.1 Jun 10, 2024

#43 in #virtual-dom


Used in respo

Apache-2.0

4KB

RespoState derive macro

to be used like:

#[derive(Debug, Clone, Default, PartialEq, Eq, Deserialize, Serialize, RespoState)]
struct PanelState {
  content: String,
}

find more details in https://crates.io/crates/respo .


lib.rs:

following https://doc.rust-lang.org/book/ch19-06-macros.html#how-to-write-a-custom-derive-macro

Dependencies

~235–680KB
~16K SLoC