Crate dioxus_rsx
source ·Expand description
§Parse the root tokens in the rsx!{} macro
This parsing path emerges directly from the macro call, with RsxRender
being the primary entrance into parsing.
This feature must support:
-
Optionally rendering if the
in XYZ
pattern is present - Fragments as top-level element (through ambiguous)
- Components as top-level element (through ambiguous)
- Tags as top-level elements (through ambiguous)
- Good errors if parsing fails
Any errors in using rsx! will likely occur when people start using it, so the first errors must be really helpful.
Re-exports§
pub use hot_reload::HotReloadingContext;
Modules§
Structs§
- The Callbody is the contents of the rsx! macro
- As we create the dynamic nodes, we want to keep track of them in a linear fashion We’ll use the size of the vecs to determine the index of the dynamic node in the final output