pub fn update(&mut self, id: &str, props: Props) -> Option<(String, Msg)> {
        self.components
            .get_mut(id)
            .map(|cmp| (id.to_string(), cmp.update(props)))
    }
/// update
///
/// Update component properties
/// Returns `None` if component doesn't exist
update
Update component properties
Returns `None` if component doesn't exist
update Update component properties Returns ` None ` if component doesn ' t exist
pub fn update(&mut self, id: &str, props: Props) -> Option<(String, Msg)> {
        self.components
            .get_mut(id)
            .map(|cmp| (id.to_string(), cmp.update(props)))
    }
pub fn update ( & mut self , id : & str , props : Props ) -> Option < ( String , Msg ) > { self . components . get_mut ( id ) . map ( | cmp | ( id . to_string ( ) , cmp . update ( props ) ) ) }
update
Update component properties
Returns `None` if component doesn't exist
update Update component properties Returns ` None ` if component doesn ' t exist
&mut self
id
&str
props
Props