- 将 FlowEditorContent 组件拆分为独立的 FlowEditorMain 组件 - 提取状态管理逻辑到 useFlowEditorState 自定义 Hook - 提取回调函数到 useFlowCallbacks 自定义 Hook - 移除临时事件列表数据引用 - 优化组件间数据传递和事件处理 - 清理未使用的导入和组件引用 - 统一节点类型管理方式 BREAKING CHANGE: 整体结构重构,更新后的单文件逻辑不在使用,但整体业务逻辑不变 |
7 months ago | |
|---|---|---|
| public | 7 months ago | |
| src | 7 months ago | |
| .env | 8 months ago | |
| .eslintignore | 9 months ago | |
| .eslintrc | 9 months ago | |
| .gitignore | 7 months ago | |
| .prettierrc | 9 months ago | |
| .stylelintignore | 9 months ago | |
| .stylelintrc | 9 months ago | |
| Dockerfile | 7 months ago | |
| README.md | 9 months ago | |
| next-env.d.ts | 9 months ago | |
| next.config.js | 7 months ago | |
| package-lock.json | 7 months ago | |
| package.json | 7 months ago | |
| pnpm-lock.yaml | 7 months ago | |
| tsconfig.json | 8 months ago | |
README.md
This is a Next.js project bootstrapped with create-next-app.
Getting Started
First, run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.tsx. The page auto-updates as you edit the file.
API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.ts.
The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.
Learn More
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
Deploy on Vercel
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.