TypeScript state-management

Open-source TypeScript projects categorized as state-management

Top 23 TypeScript state-management Projects

state-management
  1. zustand

    🐻 Bear necessities for state management in React

    Project mention: 7 Free Tools and Resources for Building Well-Structured React Applications | dev.to | 2026-05-07

    Zustand is a small, fast state management library for React. Its API is intentionally minimal: you define a store with state and actions, and you consume the store with a hook. There is no boilerplate beyond defining what the store holds and what operations change it.

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. xstate

    State machines, statecharts, and actors for complex logic

    Project mention: Welcome to the world of Statecharts | news.ycombinator.com | 2026-04-26

    Glad to see statecharts still getting attention!

    I created XState, a JS/TS library for authoring, executing, and visualizing state machines/statecharts: https://github.com/statelyai/xstate

    I've been working on it for 10+ years. The main thing I've learned is that statecharts are most valuable when they're treated as executable behavior, not just documentation.

    That doesn't mean you need to use them everywhere or model everything with them. They're most useful when you have behavior where the answer to "what happens next?" depends on both the current state & the event. A statechart can act as an oracle for questions like: "Given I'm in this state, when this event happens, what is the next state, and what effects should run?"

    I'm close to releasing an alpha of the next major version of XState, focused on better ergonomics, type safety, and composability, as well as a new visualizer/editor.

    There's also an open-source basic statechart visualizer here: https://sketch.stately.ai

    For the formal/spec side, SCXML is worth reading: https://www.w3.org/TR/scxml

    Also worth reading the original paper by David Harel: https://www.weizmann.ac.il/math/harel/sites/math.harel/files...

  4. router

    πŸ€– A client-first, server-capable, fully type-safe router and full-stack framework for the web (React and more).

    Project mention: TanStack Was Not the Whole Story: Mini Shai-Hulud Was an npm/PyPI Supply-Chain Worm | dev.to | 2026-05-13

    Malware in 42 @tanstack/* packages exfiltrates cloud credentials, GitHub tokens, and SSH keys - GitHub Advisory

  5. nuqs

    Type-safe search params state manager for React frameworks - Like useState, but stored in the URL query string.

    Project mention: Pare de lutar com a URL no Next.js! πŸš€ | dev.to | 2025-12-27

    πŸ”— Confira em: https://nuqs.dev/

  6. platform

    Reactive State for Angular (by ngrx)

    Project mention: Ng-News 26/11: TypeScript 6, NgRx RFCs delegatedSignal, Resource Extensions | dev.to | 2026-04-03

    ngrx/platform#5121 β€” RFC delegatedSignal

  7. mobx-state-tree

    Full-featured reactive state management without the boilerplate

  8. blocksuite

    🧩 Content editing tech stack for the web - BlockSuite is a toolkit for building editors and collaborative applications.

  9. effector-react

    Business logic with ease β˜„οΈ

  10. signals

    Manage state with style in every framework

    Project mention: React Won by Default – and It's Killing Front End Innovation | news.ycombinator.com | 2025-09-15

    Biggest problem is with the approach of doing a revolution, while evolution is possible. Reactivity is mentioned in the article and examples are given with frameworks that would need a rewrite of anything you have in react and relearning everything for the team.

    But it's really not needed - you can just use signals in react with the preact-signals package (works with preact and react and standalone) which has been created 3 years ago: https://preactjs.com/blog/introducing-signals It can even skip the virtual dom and diffing.

    The issue is not React per se. Just look at what the ecosystem has to offer. You can also speed up your loading times by using preact. And if you don't like a compile step use a package like htm and tagged templates for a JSXish syntax. And then move your "store" outside of react with signals etc. There is enough innovation happening, no need to always look at the other side.

  11. unstated-next

    200 bytes to never think about React state management libraries ever again

  12. constate

    React Context + State

  13. livestore

    LiveStore is a next-generation state management framework based on reactive SQLite and built-in sync engine.

  14. store

    πŸš€ NGXS - State Management for Angular

  15. final-form

    🏁 Framework agnostic, high performance, subscription-based form state management

  16. useStateMachine

    The <1 kb state machine hook for React

  17. Reactime 6.0: State Debugger for React

    Developer tool for time travel debugging and performance monitoring in React applications.

  18. data-client

    Async State Management without the Management. REST, GraphQL, SSE, Websockets

  19. mutative

    Efficient immutable updates, 2-6x faster than naive handcrafted reducer, and more than 10x faster than Immer.

    Project mention: Rethinking Undo/Redo - Why We Need Travels | dev.to | 2025-10-05

    Travels is built on Mutative. That choice matters:

  20. reworm

    🍫 the simplest way to manage state

    Project mention: Glassworm Is Back: A New Wave of Invisible Unicode Attacks Hits Repositories | news.ycombinator.com | 2026-03-15

    I don't quite understand how this is working tbh. I looked at one of the affected repos, ironically named "reworm".

    The malicious code was introduced in this commit - https://github.com/pedronauck/reworm/commit/d50cd8c8966893c6...

    It says coauthored by dependabot and refers to a PR opened in 2020 (https://github.com/pedronauck/reworm/pull/28).

    That PR itself was merged in 2020 here - https://github.com/pedronauck/reworm/commit/df8c1803c519f599...

    But the commit with the worm (d50cd8c), re-introduces the same change from df8c180 to the file `yarn.lock`.

    And when you look at the history of yarn.lock inside of github, all references to the original version bump (df8c180) are gone...? In fact if you look at the overall commit history, the clean df8c180 commit does not exist.

    I'm struggling to understand what kind of shenanigans happened here exactly.

  21. KaibanJS

    KaibanJS is a JavaScript-native framework for building and managing multi-agent systems with a Kanban-inspired approach.

  22. concent

    A reactive atomic state engine for React(including React 18) and all React like, carrying dependency collection feature, supporting fine-grained updates.

  23. reatom

    Reatom - the ultimate state manager

  24. apprun

    AppRun is a JavaScript library for developing high-performance and reliable web applications using the elm inspired architecture, events and components.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

TypeScript state-management discussion

Log in or Post with

TypeScript state-management related posts

  • Welcome to the world of Statecharts

    10 projects | news.ycombinator.com | 26 Apr 2026
  • React State Management: It's Just a Hook

    1 project | dev.to | 16 Feb 2026
  • React-State-Custom – Composable global state with native lifecycle management

    3 projects | news.ycombinator.com | 1 Dec 2025
  • How I Removed Redux Toolkit From My React Native App

    1 project | dev.to | 22 Oct 2025
  • πŸš€ Yo devs, wanna build collab apps that SLAP? Meet Jazz: the Real-Time Collab Framework That’s Straight Fire πŸ”₯

    1 project | dev.to | 23 May 2025
  • In React {Transitions} = F(state)

    1 project | news.ycombinator.com | 7 Apr 2025
  • The future of State Management in LWC: Understanding Signals

    2 projects | dev.to | 2 Feb 2025
  • A note from our sponsor - SaaSHub
    www.saashub.com | 13 Jun 2026
    SaaSHub helps you find the best software and product alternatives Learn more β†’

Index

What are some of the best open-source state-management projects in TypeScript? This list will help you:

# Project Stars
1 zustand 58,274
2 xstate 29,698
3 router 14,627
4 nuqs 10,536
5 platform 8,324
6 mobx-state-tree 7,048
7 blocksuite 5,868
8 effector-react 4,837
9 signals 4,442
10 unstated-next 4,191
11 constate 3,998
12 livestore 3,608
13 store 3,548
14 final-form 3,048
15 useStateMachine 2,406
16 Reactime 6.0: State Debugger for React 2,237
17 data-client 2,031
18 mutative 1,972
19 reworm 1,458
20 KaibanJS 1,453
21 concent 1,389
22 reatom 1,345
23 apprun 1,174

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com