💠
Jotai logo

Jotai

state

This library provides a modern state management solution for React applications, leveraging an atomic approach that scales well from simple use cases to complex enterprise applications. By allowing developers to create atomic pieces of state known as 'atoms', it offers a flexible and efficient way to manage global state without unnecessary re-renders. The library is specifically designed to work seamlessly with React 18 and introduces a store interface that extends its usability outside of React. Whether you're building a small component or an extensive application, it enables optimal performance and provides utilities and hooks for simplifying state interactions. With its minimal core API and various extensions, it is suitable for both beginners and advanced developers alike. Additionally, the library emphasizes TypeScript support and encourages best practices related to functional programming. It eliminates the need for complex memoization and context management by automatically optimizing re-renders based on atom dependencies.

Features

  • Atomic state management
  • Minimal core API (2kb)
  • Supports derived atoms
  • No string keys
  • TypeScript support
  • Optimized render performance
  • Flexible usage with React
  • Utilities for persistence and hydration
  • Built-in async support
  • Easily integrates with existing React apps

Stats

GitHub Stars18.7K

NPM Downloads1.1M/week

Details

Latest Version2.10.2

Created at8/11/2020

Updated at11/11/2024

LicenseMIT License

Related Items

Get a monthly E-Mail with the newest developments in UI!