# Yewdux Ergonomic state management for [Yew](https://yew.rs) applications. See the [book](https://intendednull.github.io/yewdux/) for more details. ## Example ```rust use yew::prelude::*; use yewdux::prelude::*; #[derive(Default, Clone, PartialEq, Eq, Store)] struct State { count: u32, } #[function_component] fn App() -> Html { let (state, dispatch) = use_store::(); let onclick = dispatch.reduce_mut_callback(|state| state.count += 1); html! { <>

{ state.count }

} } fn main() { yew::Renderer::::new().render(); } ```