-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
geekact
committed
Sep 8, 2023
1 parent
fdabe53
commit c4e070f
Showing
13 changed files
with
22 additions
and
474 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
| 方法 | 描述 | 使用频率 | 指南 | | ||
| ----------------- | --------------------------------------- | ----------------------------------- | ------------------------------------- | | ||
| **store.init** | 初始化仓库 | :star2: | [开始使用](/initialize?id=仓库) | | ||
| **store.refresh** | 重置仓库数据 | :star2: | [进阶用法](/advanced?id=重置所有数据) | | ||
| **defineModel** | 创建模型 | :star2::star2::star2::star2::star2: | [模型](/model?id=model) | | ||
| **cloneModel** | 复制模型并允许小量修改 | :star2: | [进阶用法](/advanced?id=克隆模型) | | ||
| **useDefined** | 在 hooks 中创建局部模型,数据随组件释放 | :star2::star2::star2: | [进阶用法](/advanced?id=局部模型) | | ||
| **useModel** | 在 hooks 中使用模型的状态 | :star2::star2::star2::star2::star2: | [数据对接](/react?id=usemodel) | | ||
| **useComputed** | 在 hooks 中使用计算属性 | :star2::star2::star2: | [数据对接](/react?id=usecomputed) | | ||
| **useLoading** | 在 hooks 中获取异步函数的执行状态 | :star2::star2::star2::star2::star2: | [数据对接](/react?id=useloading) | | ||
| **getLoading** | 获取异步函数的当前执行状态 | :star2: | [通用属性](/model?id=loading) | | ||
| **connect** | 在 class 组件中连接 react 和 redux | :star2: | [数据对接](/react?id=connect) | | ||
| 方法 | 描述 | 使用频率 | 指南 | | ||
| ----------------- | ---------------------------------- | ----------------------------------- | ------------------------------------- | | ||
| **store.init** | 初始化仓库 | :star2: | [开始使用](/initialize?id=仓库) | | ||
| **store.refresh** | 重置仓库数据 | :star2: | [进阶用法](/advanced?id=重置所有数据) | | ||
| **defineModel** | 创建模型 | :star2::star2::star2::star2::star2: | [模型](/model?id=model) | | ||
| **cloneModel** | 复制模型并允许小量修改 | :star2: | [进阶用法](/advanced?id=克隆模型) | | ||
| **useModel** | 在 hooks 中使用模型的状态 | :star2::star2::star2::star2::star2: | [数据对接](/react?id=usemodel) | | ||
| **useComputed** | 在 hooks 中使用计算属性 | :star2::star2::star2: | [数据对接](/react?id=usecomputed) | | ||
| **useLoading** | 在 hooks 中获取异步函数的执行状态 | :star2::star2::star2::star2::star2: | [数据对接](/react?id=useloading) | | ||
| **getLoading** | 获取异步函数的当前执行状态 | :star2: | [通用属性](/model?id=loading) | | ||
| **connect** | 在 class 组件中连接 react 和 redux | :star2: | [数据对接](/react?id=connect) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.