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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
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

2026-01-21