Module dioxus_core::prelude [−][src]
Structs
The callback type generated by the rsx!
macro when an on
field is specified for components.
A concrete type provider for closures that build VNode structures.
This struct provides an ergonomic API to quickly build VNodes.
Components in Dioxus use the “Context” object to interact with their lifecycle.
Every component in Dioxus is represented by a ScopeState
.
A virtual node s ystem that progresses user events and diffs UI trees.
Enums
A composable “VirtualNode” to declare a User Interface in the Dioxus VirtualDOM.
Traits
A trait for any generic Dioxus Element.
Every “Props” used for a component must implement the Properties
trait. This trait gives some hints to Dioxus
on how to memoize the props and some additional optimizations that can be made. We strongly encourage using the
derive macro to implement the Properties
trait automatically as guarantee that your memoization strategy is safe.
Functions
Create inline fragments using Component syntax.
This utility function launches the builder method so rsx! and html! macros can use the typed-builder pattern to initialize a component’s props.
Type Definitions
A list of attributes
An Element
is a possibly-none VNode
created by calling render
on Scope
or ScopeState
.