flimsy VS jotai

Compare flimsy vs jotai and see what are their differences.

flimsy

A single-file <1kb min+gzip simplified implementation of the reactive core of Solid, optimized for clean code. (by fabiospampinato)

jotai

👻 Primitive and flexible state management for React (by pmndrs)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
flimsy jotai
2 105
147 16,982
- 3.5%
5.9 9.2
about 2 months ago 7 days ago
TypeScript TypeScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

flimsy

Posts with mentions or reviews of flimsy. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-01.
  • Super Charging Fine-Grained Reactive Performance
    9 projects | dev.to | 1 Dec 2022
    An implementation of this might look like the following (code by Fabio Spampinato):
  • Preact Signals
    17 projects | news.ycombinator.com | 6 Sep 2022
    These are difficult to understand concepts imo. I have written an annotated implementation of a simple reactive system (you may want to run it through Prettier if that's your thing): https://github.com/fabiospampinato/flimsy/blob/master/src/fl...

    A signal is basically a function that you have to go through to read and write a value. In the case of Preact the function is split into getter and setter assigned to the "value" property. The interesting thing about signals is that they can tell their parent computation to re-execute, automatically, without any manual dependency array.

    A computed is a signal generated from a function rather than a primitive. So like the function that generates the value is re-executed automatically whenever any of the signals read inside it change.

jotai

Posts with mentions or reviews of jotai. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-08.

What are some alternatives?

When comparing flimsy and jotai you can also consider the following projects:

zustand - 🐻 Bear necessities for state management in React

redux-toolkit - The official, opinionated, batteries-included toolset for efficient Redux development

Recoil - Recoil is an experimental state management library for React apps. It provides several capabilities that are difficult to achieve with React alone, while being compatible with the newest features of React.

signals - Manage state with style in every framework

react-query - 🤖 Powerful asynchronous state management, server-state utilities and data fetching for TS/JS, React, Solid, Svelte and Vue. [Moved to: https://github.com/TanStack/query]

react-hook-form - 📋 React Hooks for form state management and validation (Web + React Native)

valtio - 💊 Valtio makes proxy-state simple for React and Vanilla

redux-thunk - Thunk middleware for Redux

hookstate - The simple but very powerful and incredibly fast state management for React that is based on hooks

effector-react - Business logic with ease ☄️

nanostores - A tiny (286 bytes) state manager for React/RN/Preact/Vue/Svelte with many atomic tree-shakable stores

use-cookie-state - State management React hook using browser cookies as persistent storage