Modules§
- prelude
- Easy imports for RSX applications
Structs§
- Component
Id - Element
- Scheduler
- Signal
- –– Signals (very small reactive core) ––
- UseState
Enums§
Traits§
- Renderer
- Renderer abstraction used by rsx-web
Functions§
- effect
- fragment
- h
- on_
click - Helper function to create event handlers more easily
- on_
event - Helper function to create any event handler
- register_
component - Register a component and get its ID
- render_
component - Render a component by ID
- render_
to_ string - A simple HTML string renderer for SSR/testing.
- text
- use_
signal - Backwards-compatible hook returning a raw signal handle.
- use_
state - Hook to manage state for a component, exactly like React’s useState. Returns (value, setter) - React-style API with cloneable setter.
- use_
state_ updater - Alternative useState hook that returns (value, update_fn) where update_fn takes a closure that receives the current value and returns the new value.
- use_
state_ with_ updater - Alternative useState hook that returns (value, updater, setter) where:
Type Aliases§
- Component
Fn - Simple component function type (accepts closures)