Module sycamore::prelude [−][src]
Expand description
The sycamore prelude.
Re-exports
pub use crate::flow::Indexed;
pub use crate::flow::IndexedProps;
pub use crate::flow::Keyed;
pub use crate::flow::KeyedProps;
pub use crate::generic_node::DomNode;
pub use crate::generic_node::GenericNode;
pub use crate::generic_node::SsrNode;
pub use crate::noderef::NodeRef;
pub use crate::template::IntoTemplate;
pub use crate::template::Template;
Macros
Utility macro for cloning all the arguments and expanding the expression.
A macro for ergonomically creating complex UI structures.
Structs
State that can be set.
A readonly Signal
.
Functions
Creates an effect on signals used inside the effect closure.
Creates a memoized value from some signals. Also know as “derived stores”.
Creates a new reactive root / scope. Generally, you won’t need this method as it is called
automatically in render
.
Creates a memoized value from some signals. Also know as “derived stores”.
Unlike create_memo
, this function will not notify dependents of a change if the output is
the same. That is why the output of the function must implement PartialEq
.
Creates a memoized value from some signals. Also know as “derived stores”.
Unlike create_memo
, this function will not notify dependents of a change if the output is
the same.
Adds a callback function to the current reactive scope’s cleanup.
Run the passed closure inside an untracked dependency scope.
Attribute Macros
A macro for creating components from functions.