#[component]
Macro which transforms a provided function into a component that can be used in dom! macro