Crate leptos_core
source ·Expand description
This crate contains several utility pieces that depend on multiple crates.
They are all re-exported in the main leptos
crate.
Re-exports
pub use typed_builder;
Structs
Traits
Describes the properties of a component. This is typically generated by the
Prop
derive macro
as part of the #[component]
macro.Functions
Iterates over children and displays them, keyed by the
key
function given.If any Resources are read in the
children
of this
component, it will show the fallback
while they are loading. Once all are resolved,
it will render the children
. If data begin loading again, falls back to fallback
again.Function that maps a
Vec
to another Vec
via a map function. The mapped Vec
is lazy
computed; its value will only be updated when requested. Modifications to the
input Vec
are diffed using keys to prevent recomputing values that have not changed.