没有合适的资源?快使用搜索试试~ 我知道了~
ts-react-hooks-tools:提供有关react hooks的一系列重构的工具
共103个文件
tsx:54个
ts:25个
json:9个
需积分: 5 0 下载量 43 浏览量
2021-05-28
03:02:01
上传
评论
收藏 349KB ZIP 举报
温馨提示
ts-react-hooks-tools 一个工具包,为React挂钩提供了一系列重构工具。 建立 :red_heart: 。 安装 动机 将表达式包装到React.useMemo() 将函数包装成React.useCallback() 自动检测依赖关系和常量。 用法
资源推荐
资源详情
资源评论
收起资源包目录
ts-react-hooks-tools:提供有关react hooks的一系列重构的工具 (103个子文件)
summary.gif 250KB
.gitignore 2KB
prettier.config.js 276B
package.json 2KB
package.json 2KB
tsconfig.json 312B
tsconfig.json 312B
tsconfig.test.json 283B
tsconfig.json 262B
tsconfig.json 258B
package.json 180B
package.json 180B
LICENSE 1KB
yarn.lock 55KB
yarn.lock 53KB
yarn.lock 34KB
yarn.lock 34KB
README.md 554B
README.md 507B
logo.png 6KB
utils.ts 32KB
service.ts 20KB
resolver.ts 14KB
tesUtils.ts 12KB
bugs.test.ts 9KB
constants.test.ts 8KB
useCallback.test.ts 7KB
useMemo.test.ts 5KB
textChanges.d.ts 4KB
configs.test.ts 4KB
decorator.ts 4KB
basic.test.ts 3KB
helper.ts 2KB
index.ts 2KB
typescript.d.ts 2KB
types.ts 2KB
runTest.ts 1KB
plugin.ts 1KB
classic.ts 1KB
modern.ts 1KB
constants.ts 883B
common.ts 380B
logger.ts 278B
config.ts 240B
index.ts 195B
shouldWorkWithUseReduce.tsx 825B
shouldWorkCorrectWithInnerTypeAnnotation.tsx 444B
shouldWorkCorrectWithInnerValue.tsx 424B
shouldWorkWithInnerParams.tsx 423B
shouldWorkWithConstantUseMemoOrCallback.tsx 400B
shouldWorkWithElementAccessWithLocalArgExpression.tsx 374B
shouldWorkWithDeps.tsx 359B
shouldWorkWithConstants.tsx 356B
preferImmutableCall2.tsx 346B
preferImmutableCall1.tsx 334B
preferFullAccess.tsx 332B
shouldIgnoreSetStateAndRef.tsx 320B
shouldWorkWithNamedImport.tsx 317B
shouldWorkWithPropertyAccess.tsx 315B
shouldWorkWithConstatnValue.tsx 315B
shouldWorkWithOptionalChains.tsx 309B
shouldWorkWithAsExpression.tsx 308B
shouldWorkIfAlreadyHasImport.tsx 307B
shouldWorkIfAlreadyImported.tsx 304B
shouldWorkCorrectWithUnknownSymbol.tsx 301B
shouldWorkWithFakeHooks.tsx 297B
shouldWorkWithNonValueDeclaration.tsx 290B
shouldWorkWithLiteralUndefined.tsx 281B
shouldNotWorkOverlap.tsx 280B
shouldWorkIfComponentMayReturnNull.tsx 276B
preferConstantCall.tsx 275B
shouldWorkWithLiteral5.tsx 269B
shouldWorkWithLiteral11.tsx 269B
shouldWorkWithDeps.tsx 267B
shouldWorkWithOverlappedAccessReversed.tsx 266B
shouldWorkWithOverlappedAccess.tsx 266B
shouldWorkWithLiteral7.tsx 263B
shouldWorkWithJsxAttribute.tsx 263B
shouldNotWorkOverlap.tsx 251B
shouldWorkWithLiteral8.tsx 250B
shouldWorkWithLiteral3.tsx 247B
shouldWorkWithLiteral10.tsx 247B
shouldWorkWithLiteral12.tsx 246B
shouldWorkWithLiteral4.tsx 246B
shouldWorkWithLiteral6.tsx 244B
shouldWorkWithLiteral9.tsx 244B
shouldWorkWithLiteral2.tsx 243B
shouldWorkWithLiteral1.tsx 239B
shouldWorkWithLiteral13.tsx 236B
shouldWorkWithConstatnFunction.tsx 226B
shouldWorkWithDuplicatedUnknown.tsx 213B
shouldWorkWithFunctionDeclarationAndLiteralArguments.tsx 213B
shouldWork.tsx 213B
shouldWorkIfHaveInvalidImport.tsx 213B
shouldWorkWithIndexAccessAndCallInOneArgs.tsx 212B
shouldWork.tsx 206B
shouldWorkWithIndexAccessAndCallInZeroArgs.tsx 198B
shouldWork.tsx 168B
shouldWorkWithJsxElement.tsx 161B
.vscodeignore 278B
共 103 条
- 1
- 2
资源评论
盗心魔幻
- 粉丝: 15
- 资源: 4478
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功