#[pre_hooks]
Expand description
An attribute macro that allows you to add hooks that will execute before your component body
See Also:
post_hooks
for an alternative that runs after your component body
Hooks allow you to create reusable logic that can be applied to multiple components.