fn in_context( current: &mut Vec<ComponentVar>, new: Box<[ComponentVar]>, then: impl FnOnce(Option<AnyView>, &mut Vec<ComponentVar>) -> AnyView, ) -> AnyView