Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

为什么二次封装modal要扩展不相关的其他组件 #17

Closed
cloud-prg opened this issue Jan 31, 2024 · 3 comments
Closed

为什么二次封装modal要扩展不相关的其他组件 #17

cloud-prg opened this issue Jan 31, 2024 · 3 comments

Comments

@cloud-prg
Copy link

No description provided.

@cloud-prg
Copy link
Author

  • 扩展的组件相对于antd有什么优势嘛。如果没有不就变相增大包体积了

@Wxh16144
Copy link
Owner

可以看看文章说的几个痛点你是否遇到过,如果没有其实完全用不着这个库,https://juejin.cn/post/7265833406226251812

@Wxh16144
Copy link
Owner

Wxh16144 commented Feb 23, 2024

我明白你的意思了,你说的是 antd mobile 那些内容,确实当初应该分成好几个包来做,monorepo 方式,但是后面感觉只是拓展一下,用的人可能不多,安装依赖的话可能会增加体积,但是打包项目应该会做 tree shaking 吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants