Expand description
Procedural macros for Telex.
state!— creates order-independent state (no hook ordering rules)effect!— creates order-independent effects with dependencieseffect_once!— creates order-independent effects that run oncewith!— clones state handles into closuresview!— JSX-like syntax for building UI trees
Macros§
- async_
data - The async_data! macro for creating order-independent async data loading.
- channel
- The channel! macro for creating typed inbound channels.
- 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.
- interval
- The interval! macro for creating periodic timers.
- port
- The port! macro for creating bidirectional ports.
- reducer
- The reducer! macro for creating order-independent state with dispatch.
- state
- The state! macro for creating order-independent state.
- stream
- The stream! macro for creating order-independent streams.
- terminal
- The terminal! macro for creating order-independent terminal handles.
- text_
stream - The text_stream! macro for creating order-independent text streams.
- text_
stream_ with_ restart - The text_stream_with_restart! macro for creating restartable text streams.
- view
- The view! macro for building UI trees with JSX-like syntax.
- with
- The with! macro for cloning state handles into closures.