Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Yew
  3. Bounce

Bounce

Apache-2.0Rustv0.9.0

A minimal, efficient state management library for Yew web apps, inspired by Redux and Recoil.

Visit WebsiteGitHubGitHub
99 stars12 forks0 contributors

What is Bounce?

Bounce is a state management library for Yew, a Rust-based web framework. It simplifies managing application state by providing atom-based states with automatic change detection and efficient subscription updates, addressing common issues like boilerplate and unnecessary re-renders.

Target Audience

Developers building web applications with Yew who need a lightweight, performant state management solution without the complexity of other libraries.

Value Proposition

Bounce offers a minimal API with performance optimizations like targeted notifications and reduced cloning, making it easier to integrate and maintain compared to other Yew state management options.

Overview

The uncomplicated Yew State management library

Use Cases

Best For

  • Managing global state in Yew applications with minimal setup
  • Reducing boilerplate in state management for Rust web projects
  • Optimizing performance by notifying only relevant components on state changes
  • Implementing atom-based state patterns similar to Recoil in Rust
  • Building reactive UIs in Yew without unnecessary re-renders
  • Simplifying state handling for developers familiar with Redux or Recoil

Not Ideal For

  • Applications built with Rust web frameworks other than Yew (e.g., Leptos, Sycamore)
  • Projects requiring advanced state management features like middleware, time-travel debugging, or complex state transitions
  • Teams that need extensive third-party integrations or a mature ecosystem with abundant community plugins

Pros & Cons

Pros

Automatic Change Detection

Uses PartialEq to automatically detect state changes, reducing manual boilerplate and setup effort, as highlighted in the README's rationale.

Targeted Notifications

Only hooks subscribed to a specific state are notified on changes, minimizing unnecessary re-renders and improving performance, addressing a common limitation in other Yew solutions.

Reduced Cloning Overhead

States are wrapped in Rc (reference-counted pointers) to reduce cloning during updates, optimizing efficiency as described in the key features.

Simple and Flexible Hooks

Provides hooks like use_atom, use_atom_value, and use_atom_setter for easy read/write, read-only, or set-only state handling, simplifying integration into components.

Cons

Yew-Exclusive Lock-in

Designed solely for Yew, making it incompatible with other Rust web frameworks and limiting flexibility if migrating projects away from Yew.

Limited Advanced Functionality

Focuses on atom-based states without built-in support for complex patterns like side effects, actions, or dev tools, which may require manual workarounds.

Ecosystem and Maturity Gaps

As a niche library, it lacks the extensive documentation, community support, and third-party integrations found in more established state management solutions.

Frequently Asked Questions

Quick Stats

Stars99
Forks12
Contributors0
Open Issues11
Last commit2 months ago
CreatedSince 2021

Tags

#webassembly#yew#frontend#reactive-ui#wasm#rust-web#rust#state-management

Built With

Y
Yew
R
Rust

Links & Resources

Website

Included in

Yew1.6k
Auto-fetched 1 day ago

Related Projects

yew-hooksyew-hooks

Hooks for Yew, inspired by streamich/react-use and alibaba/hooks.

Stars177
Forks16
Last commit1 month ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub