Module sycamore::prelude[][src]

Expand description

The sycamore prelude.

Re-exports

pub use crate::cloned;
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::rx::create_root;
pub use crate::template::IntoTemplate;
pub use crate::template::Template;

Macros

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 an effect on signals used inside the effect closure.

Creates a memoized value from some signals. Also know as “derived stores”.

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.