[][src]Trait sauron_vdom::Component

pub trait Component<T>: Widget<T> + View<T> {
    fn subscribe(&mut self, f: Box<dyn Fn()>);
}

This is the main app, the app routes whenever there is changes in the store this callback will be called

Required methods

fn subscribe(&mut self, f: Box<dyn Fn()>)

Loading content...

Implementors

Loading content...