Skip to content

Commit

Permalink
chore: bump limu
Browse files Browse the repository at this point in the history
  • Loading branch information
fantasticsoul committed Dec 15, 2023
1 parent bc57c45 commit e497b3d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

# helux 简介

[helux](https://github.com/heluxjs/helux) 是一个集`atom``signal``依赖收集`为一体的 react 状态库,它拥有以下特性:
[helux](https://github.com/heluxjs/helux) 是一个集`atom``signal``依赖收集``派生``观察`为一体,支持细粒度响应式更新的 react 状态库,支持所有类react框架(包括react 18)

特性简介:
- 基于最快的不可变 js 库[limu](https://github.com/tnfe/limu)开发,拥有超强性能
- atom 支持依赖收集,意味着 atom 不用拆分的很细,atom 就可以等同于 model,天然对 `DDD` 领域驱动设计友好
- 内置 signal 响应机制,可实现 0 hook 编码 + dom 粒度的更新
Expand Down
2 changes: 1 addition & 1 deletion packages/helux-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@helux/hooks-impl": "workspace:^",
"@helux/types": "workspace:^",
"@helux/utils": "workspace:^",
"limu": "^3.11.3"
"limu": "^3.11.7"
},
"devDependencies": {
"esbuild-copy-static-files": "^0.1.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/helux-core/src/types/base.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ export interface ICreateOptionsFull<T = SharedState> {
rules: IDataRule<T>[];
/**
* default: fasle,是否允许对草稿对象读值时收集依赖,
* 默认不允许,否则 mutate 回调里使用类似 draft.a +=1 时很容易造成死循环
* 默认不允许,否则 mutate 回调里使用类似 draft.a +=1 时就造成死循环
* 此参数偏向于面向库开发者来使用
*/
enableDraftDep: boolean;
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e497b3d

Please sign in to comment.