pub fn with_component_context<F, R>(f: F) -> Rwhere F: FnOnce() -> R,
A helper function to be called by the #[component] macro.
#[component]