一个框架无关、类型安全的状态引擎,通过结构化路径、精准订阅和原子提交来管理应用状态。

Stars

3

7 天增长

暂无数据

Fork 数

0

开放 Issue

0

开源协议

MIT

最近更新

2026-07-30

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

它提出了一种可寻址的状态模型:每个值都可以通过结构化路径字符串进行读取、写入、订阅和序列化,并具备 O(observed) 内存开销、内置异步资源,且不强制绑定 UI 框架或 Provider。

适合谁使用

  • 需要管理大型键控集合或服务端数据载荷的开发者
  • 需要 SSR 与客户端水合方案的团队
  • 希望采用可序列化状态协议的库作者
  • 关注细粒度订阅与原子写入性能的工程师

典型使用场景

  • 通过结构化路径寻址记录、文档、缓存和大型键控集合
  • 只订阅组件或服务实际读取的精确状态地址
  • 将多次写入合并为原子化、可归因的提交
  • 在浏览器首次渲染前水合服务端下发的状态载荷

项目优势

  • 结构化路径寻址不依赖对象引用,便于跨组件、跨服务使用
  • 定向写入只唤醒受影响的地址观察者,而不是整个 store
  • 原子提交在事务抛出异常时回滚全部写入
  • 大型 segment 只为被观察的地址创建节点,实现 O(observed) 内存占用

使用前须知

  • 处于 0.x 实验阶段,公共 API 在 1.0 之前可能变化
  • 仅支持 ESM,Node 运行时和开发工具需要 Node.js 22 或更高版本
  • 目前没有内置 React 或 Vue 适配器;Octane 是额外的可选渲染适配器

README 快速开始

Installation

项目描述

Framework Agnostic Performant State Management Engine

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

TanStack
精选
TanStack GitHub avatar

router

TanStack Router is a type-safe, data-driven React router with built-in caching, prefetching, and nested layouts, while TanStack Start extends it into a full-stack SSR framework.

Web 开发前端框架
14,861
vercel-labs
精选
vercel-labs GitHub avatar

scriptc

scriptc compiles ordinary TypeScript into small, fast native executables without needing Node.js, V8, or any JavaScript runtime in the binary.

开发者工具代码质量与构建
1,985
Jakubantalik
精选
Jakubantalik GitHub avatar

thinking-orbs

A React component library that renders six hand-tuned animated thought orb loading indicators on a plain 2D canvas, with two purpose-tuned sizes and automatic theme detection for AI and agent UIs.

AI 与机器学习AI 智能体
1,191