This is unreleased documentation for Yew Next version.
For up-to-date documentation, see
the latest version on docs.rs
.
☰
yew
0.21.0
In yew::functional
?
Attribute Macro
yew
::
functional
::
hook
source
·
[
−
]
#[hook]
Expand description
This attribute creates a user-defined hook from a normal Rust function.