Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
I

icestore

> 前端框架
Open source

Simple and friendly state for React

397 stars0 likes2 views
WebsiteGitHub

About

Simple and friendly state for React

简体中文 | English

icestore

简单友好的状态管理方案。

版本

版本 代码分支 文档
V2 master Docs
V1 stable/1.x Docs

介绍

icestore 是面向 React 应用的、简单友好的状态管理方案。它包含以下核心特征:

  • 简单、熟悉的 API:不需要额外的学习成本,只需要了解 React Hooks,对 Redux 用户友好。
  • 集成异步处理:记录异步操作时的执行状态,简化视图中对于等待或错误的处理逻辑。
  • 支持组件 Class 写法:友好的兼容策略可以让老项目享受轻量状态管理的乐趣。
  • 良好的 TypeScript 支持:提供完整的 TypeScript 类型定义,在 VS Code 中能获得完整的类型检查和推断。

查看《能力对比表》了解更多细节。

文档

  • API
  • 更多技巧
  • 从 V1 版本升级
  • 常见问题

示例

  • Counter
  • Todos
  • Class Component Support
  • withModel

快速开始

…

安装

使用 icestore 需要 React 在 16.8.0 版本以上。

bash
npm install @ice/store --save

灵感

创造 icestore 的灵感来自于 rematch 和 constate。

参与贡献

欢迎通过 issue 反馈问题。

开发:

bash
$ cd icestore/
$ npm install
$ npm run test
$ npm run watch

$ cd examples/counter
$ npm install
$ npm link ../../                    # link icestore
$ npm link ../../node_modules/react  # link react
$ npm start

License

MIT

Issues· 4 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScripthooksicestorereacttypescript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架