This is unreleased documentation for Yew Next version.
For up-to-date documentation, see the latest version on docs.rs.

Attribute Macro yew::functional::hook

#[hook]
Expand description

This attribute creates a user-defined hook from a normal Rust function.