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

Attribute Macro hook

Source
#[hook]
Expand description

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