ant-design / ant-design/pro-components

👑 [需求]能否用 es-toolkit 替换 lodash-es

Open
#8,931 7 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

### 🔩 所属模块或组件
全局

### 🥰 需求描述

在今天lodash 已经明显显得笨重了,哪怕是是lodash-es,也依然很大, 社区已经有了优秀的继任者 es-toolkit,体积比lodash 小97%,速度是lodash的两到三倍,能否用 es-toolkit替换lodash,如果可以,我可以来替换。

https://github.com/toss/es-toolkit

### 🚑 其他信息

我看到pro-components 使用了lodash-es 又做了转换转成lodash ,我不理解这样做的原因,可以解释一下吗

Contributor guide

Open the contributing guide

Research direction

Start by auditing the project-wide lodash-es usage and the conversion to lodash in pro-components, then compare the required APIs with es-toolkit. Define the migration scope and compatibility requirements before changing dependencies; done means the replacement works across the affected components without regressions.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.