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

组件库文档 #4443

Closed
875908494 opened this issue Sep 18, 2023 · 3 comments
Closed

组件库文档 #4443

875908494 opened this issue Sep 18, 2023 · 3 comments
Assignees
Labels
improvement improve some features

Comments

@875908494
Copy link

Component

Affix

Feature Description

能否将现有文档改造一下,一是组件文档代码展示不够清晰,参考ant-design就可以,而且有个疑问为什么现在组件文档的代码还是使用的class,为什么不是hooks写法,这样让react16.8后学习的人使用起来非常不友好

@eternalsky eternalsky self-assigned this Sep 18, 2023
@eternalsky eternalsky added the improvement improve some features label Sep 19, 2023
@eternalsky
Copy link
Contributor

整体改为 hooks 确实是一个优化点,我们已经将其作为一个优化方向后续会落实下来。

@eternalsky
Copy link
Contributor

#4421 我们发起了一个讨论,请大家来投票决定接下来优化的优先级,hooks 也在其中,有兴趣可以参加一下~

@YSMJ1994
Copy link
Contributor

目前我们正在进行基于1.x版本的组件库技术升级,包含文档优化相关内容,欢迎PR,另外我们将在 2.x 版本全面优化文档与拥抱高版本 react,敬请期待。

https://github.com/alibaba-fusion/next/wiki/Tech-upgrade

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

No branches or pull requests

3 participants