2.0.0 • Published 1 month ago
@ibrilliant/hooks v2.0.0
hooks
install
$ yarn add @ibrilliant/hooks
hooks | 简介 |
---|---|
createProviderAndHooks | 对provider 进行的包装 |
createSliceHook | 简化获取slice state 的方式 |
DispatcherProvider | 简化派发action 调用 |
makeSlice | 使用slice 来封装useReducer |
useMuiAnchorElControl | 管理material-ui 的AnchorEl |
useMuiInputControl | 管理material-ui input value |
useMuiTabsControl | 管理material-ui tabs value |
useBehaviorSubjectControl | 管理rxjs BehaviorSubject |
useSubject | 管理rxjs subject |
useSubscribe | 自动订阅、取消 rxjs observable |
useActionPending | 管理loading ,避免出现较短时间的闪烁 |
useConstant | reexport from use-constant |
useLocationQuery | parse location.search |
useNumberInput | 数字输入框处理逻辑 |
useSelectorWithIsEqual | 增强useSelector |
2.0.0
1 month ago
1.0.67
1 month ago
1.0.63
3 years ago
1.0.62
3 years ago
1.0.60
3 years ago
1.0.53
3 years ago
1.0.37
3 years ago
1.0.36
3 years ago
1.0.35
3 years ago
1.0.33
3 years ago
1.0.32
3 years ago
1.0.31
3 years ago
1.0.28
3 years ago
1.0.25
3 years ago
1.0.24
3 years ago
1.0.23
3 years ago
1.0.22
3 years ago
1.0.21
3 years ago
1.0.20
3 years ago
1.0.19
3 years ago
1.0.17
3 years ago
1.0.14
3 years ago
1.0.13
3 years ago
1.0.11
3 years ago
1.0.10
3 years ago
1.0.9
3 years ago
1.0.8
3 years ago
1.0.5
3 years ago
1.0.0
3 years ago
0.1.0
3 years ago