react-values is a lightweight React utility library that gives developers a set of tiny, composable components for managing state with a render-props API, so you don’t need to rewrite the same state logic over and over in your UI components. It exposes helpful state transforms like toggle, increment, filter, and native methods matching JavaScript value types (Array, Boolean, Number, Object, String, Map, Set, Date), which makes it easier to implement common behaviors like toggles, counters, and filtering right out of the box. Instead of forcing you into a specific global state system or hooks-only interface, it uses render props to keep components flexible and visible in the tree, enabling controlled and uncontrolled use cases alongside shared state patterns. The design prioritizes simplicity and familiarity, so working with values feels like using native JavaScript methods but with UI reactivity built in, helping you avoid boilerplate.

Features

  • Tiny composable React components for state
  • Render-props API exposing state and controls
  • Helpers for Boolean, Number, String, Object, Array, Map, Set, Date
  • Encourages reuse of common state patterns
  • Controlled and uncontrolled component support
  • Light footprint and easy to reason about

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow React Values

React Values Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of React Values!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Software Development Software

Registered

17 hours ago