Skip to main content

Crate telex_macro

Crate telex_macro 

Source
Expand description

Procedural macros for Telex.

  • state! — creates order-independent state (no hook ordering rules)
  • effect! — creates order-independent effects with dependencies
  • effect_once! — creates order-independent effects that run once
  • with! — clones state handles into closures
  • view! — JSX-like syntax for building UI trees

Macros§

effect
The effect! macro for creating order-independent effects with dependencies.
effect_once
The effect_once! macro for creating order-independent effects that run once.
state
The state! macro for creating order-independent state.
view
The view! macro for building UI trees with JSX-like syntax.
with
The with! macro for cloning state handles into closures.