pub fn map_components(components: Vec<Html>) -> Vec<Html> โExpand description
Reduces a vector of HTML components by flattening and filtering out duplicates.
ยงExample
use next_rs::head::{map_components, default_head};
let components = vec![default_head()];
let new_components = map_components(components);