Trait yewdux::listener::Listener

source ·
pub trait Listener: 'static {
    type Store: Store;

    // Required method
    fn on_change(&mut self, cx: &Context, state: Rc<Self::Store>);
}
Expand description

Listens to Store changes.

Required Associated Types§

Required Methods§

source

fn on_change(&mut self, cx: &Context, state: Rc<Self::Store>)

Implementors§