MCPcopy Index your code
hub / github.com/alexwjj/React-TypeScript

github.com/alexwjj/React-TypeScript @v1.0.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.0.0 ↗ · + Follow
323 symbols 598 edges 115 files 4 documented · 1%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

react-ts react zent

个人学习项目

测试下

技术栈

  • React
  • TypeScript
  • Zent
  • Antd
  • 微服务 - qiankun (TODO)

启动

yarn //安装依赖

yarn dev //启动

yarn build //打包

输出文章

1、vue 转 react 不完全指北 已完成 2021-4-21

2、一名 vueCoder 总结的 React 基础 已完成 2021-5-10

3、一篇够用的TypeScript总结 已完成 2021-7-6

  • react hooks Doing
  • node bff 开发实战

QA

1、项目无法启动,提示 craco 版本过低

删除本地 node_modules,重新安装

2、craco配置别名不生效

需要在tsconfig中也配置下,因为别名会经过ts编译

Extension points exported contracts — how you extend this code

ProductHomeState (Interface)
* product的默认子路由组件
src/pages/product/home.tsx
IAppCard (Interface)
(no doc)
src/components/app-card/index.tsx
MemoryUtilsModel (Interface)
(no doc)
src/utils/MemoryUtils.ts
ResponseValue (Interface)
(no doc)
src/api/Model.ts
MenuConfig (Interface)
(no doc)
src/config/menuConfig.ts
Props (Interface)
(no doc)
src/pages/product/media.tsx
IProps (Interface)
(no doc)
src/components/content-title/index.tsx
PageSplitModel (Interface)
(no doc)
src/api/Model.ts

Core symbols most depended-on inside this repo

ajax
called by 22
src/api/ajax.ts
pathResolve
called by 3
craco.config.js
reqCategoryById
called by 3
src/api/index.ts
registerValidSW
called by 2
src/serviceWorker.ts
formatDate
called by 2
src/utils/DateUtils.tsx
formatDateByString
called by 2
src/utils/DateUtils.tsx
proForm
called by 2
src/pages/user/User.tsx
reqCategorys
called by 2
src/api/index.ts

Shape

Function 129
Method 71
Class 64
Interface 57
Enum 2

Languages

TypeScript100%

Modules by API surface

src/api/index.ts23 symbols
src/pages/demo/lifeCycle.tsx11 symbols
src/pages/product/add-update.tsx10 symbols
src/components/header/index.tsx10 symbols
src/pages/role/Role.tsx8 symbols
src/pages/product/pictures-wall.tsx8 symbols
src/pages/product/detail.tsx8 symbols
src/pages/product/home.tsx7 symbols
src/pages/category/Category.tsx7 symbols
src/components/affix-tabs-nav/index.tsx7 symbols
src/pages/product/rich-text-editor.tsx6 symbols
src/pages/product/media.tsx6 symbols

For agents

$ claude mcp add React-TypeScript \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact