whisker-macros 0.4.3

Procedural macros for Whisker: #[whisker::main], rsx!
Documentation

Procedural macros for Whisker.

  • [main] — designates the user's app entry. Generates the whisker_app_main and whisker_tick FFI exports the native host calls into; the user writes fn app() -> Element.
  • [render!] — fine-grained renderer macro. Emits imperative view::* dispatch + effects for dynamic parts. See crates/whisker-macros/src/render.rs for the grammar.
  • [component] — wraps a function so it runs inside a fresh reactive owner. The owner is registered against the function's fn pointer so the hot-reload remount path can find it. See docs/reactivity-design.md.