TypeScript State

Open-source TypeScript projects categorized as State

Top 23 TypeScript State Projects

  • xstate

    Actor-based state management & orchestration for complex app logic.

    Project mention: Rethinking State Management - Why XState is a Game-Changer for Developers | dev.to | 2024-01-15

    In this article, I want to share a personal journey of discovery in the world of state management. My path led me to XState, a tool that I believe is the best choice for managing state in modern applications like React, Angular, Vue, and others. This isn't just a professional advice; it's a personal recommendation based on real-world experience.

  • jotai

    👻 Primitive and flexible state management for React

    Project mention: jotai-wrapper, a super tiny and simple utility library | dev.to | 2024-02-26

    I've just published jotai-wrapper, a super tiny and simple utility library that makes using jotai even simpler. It comes from the necessity to migrate a project with react-context-slices to jotai. Both libraries share a similar API. While in react-context-slices you have the useSlice hook, in jotai you have the useAtom, useSetAtom, and useAtomValue hooks. In react-context-slices you define either React Context or Redux slices, while in jotai you define atoms. The need for the migration from the first to the second was a high memory usage by react-context-slices when using React Context slices.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • valtio

    💊 Valtio makes proxy-state simple for React and Vanilla

    Project mention: How to properly structure a valtio shared state object? | /r/reactjs | 2023-06-25
  • effector-react

    Business logic with ease ☄️

    Project mention: Global, reactive data store vs local, colocated graphql query? | /r/reactnative | 2023-03-20

    I've been using effector, together with the apollo-client for the last few years and, while it works, it's completely detached from the actual screens. In other words, you need to fetch everything (at startup) you might use at some point and it stays in the memory for the entire duration of the session. Error handling is also tricky as you need to explicitly subscribe to the specific error stores in order to render them. And, if something goes wrong, it's tricky to tell what data is actually used in the current screen, so it's almost impossible to do the Retry efficiently. OTOH the screens are nice and simple - no spinners, the data is just there, thus the app feels (and is) fast.

  • concent

    A reactive atomic state engine for React like.

    Project mention: Focusing on optimization, surpassing immer, limu finally reaches the top of immutable data performance | dev.to | 2024-01-06

    helux A state engine that integrates atom, signal, and dependency tracking, and supports fine-grained response updates

  • mobx-react-form

    Reactive MobX Form State Management

  • pullstate

    Simple state stores using immer and React hooks - re-use parts of your state by pulling it anywhere you like!

    Project mention: ReactNative Expo File Based Routing with Firebase Authentication | dev.to | 2023-04-26

    PullState - https://lostpebble.github.io/pullstate/

  • LearnThisRepo.com

    Learn 300+ open source libraries for free using AI. LearnThisRepo lets you learn 300+ open source repos including Postgres, Langchain, VS Code, and more by chatting with them using AI!

  • reatom

    Reatom - the ultimate state manager

    Project mention: Is redux and thunks still used or are there other alternatives for it now? | /r/reactjs | 2023-05-10

    Nanostores and Reatom are also great, fast atomic libs

  • useEffectReducer

    useReducer + useEffect = useEffectReducer

  • teaful

    🍵 Tiny, easy and powerful React state management

  • resso

    🪢 The simplest React state manager

  • structura.js

    A very fast and lightweight Typescript library to create immutable states with a mutable syntax

    Project mention: Focusing on optimization, surpassing immer, limu finally reaches the top of immutable data performance | dev.to | 2024-01-06

    Before 3.12, although the performance of limu was several times better than immer, it was far away from structura and mutative These new immutable data operation libraries still have many gaps, so they can only be debugged friendly and several times faster than immer as a promotional point. If you want to pursue the ultimate speed, it is recommended by default. mutative.

  • zedux

    :zap: A Molecular State Engine for React

    Project mention: Thoughts on Signals? | /r/reactjs | 2023-06-29

    Atomic libs include Recoil, Jotai, and the one I maintain: Zedux. Zedux especially was designed to work well with sockets and RxJS observables and has been getting some traction recently, so of course I recommend checking it out. Feel free to hmu with any questions.

  • pinia-shared-state

    🍍 Sync your Pinia state across browser tabs.

  • vuex-multi-tab-state

    💾🔗🖥️ Share, synchronize and persist state between multiple tabs with this plugin for Vuex. TypeScript types included.

  • contextism

    😍 Use React Context better.

  • state-pool

    Transform your React app with our state management library! Declare global and local states like variables, powered by the magic of React hooks 🪄✨

  • exome

    🔅 State manager for deeply nested states

  • clean-state

    🐻 A pure and compact state manager, using React-hooks native implementation, automatically connect the module organization architecture. 🍋

  • ngrx-immer

    Immer wrappers around NgRx methods createReducer, on, and ComponentStore

  • driver

    🏁 A typescript package for declaring finite states and commonly derived values - zero dependencies, fully typed, & framework agnostic.

    Project mention: Show HN: driver – a TypeScript pkg for declaring finite states via boolean logic | news.ycombinator.com | 2023-09-06
  • solid-react

    🧿 ˏˋSignalsˎˊ for React

  • agile

    🌌 Global State and Logic Library for JavaScript/Typescript applications

  • WorkOS

    The modern API for authentication & user identity. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

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). The latest post mention was on 2024-02-26.

TypeScript State related posts

Index

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

Project Stars
1 xstate 25,791
2 jotai 16,703
3 valtio 8,195
4 effector-react 4,443
5 concent 1,260
6 mobx-react-form 1,088
7 pullstate 1,062
8 reatom 922
9 useEffectReducer 788
10 teaful 698
11 resso 485
12 structura.js 391
13 zedux 304
14 pinia-shared-state 242
15 vuex-multi-tab-state 162
16 contextism 143
17 state-pool 133
18 exome 132
19 clean-state 120
20 ngrx-immer 113
21 driver 110
22 solid-react 103
23 agile 94
The modern API for authentication & user identity.
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com