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

提个建议:React示例代码可以换成hooks版本吗 #886

Open
qinfeng0214 opened this issue Oct 27, 2023 · 1 comment
Open

提个建议:React示例代码可以换成hooks版本吗 #886

qinfeng0214 opened this issue Oct 27, 2023 · 1 comment

Comments

@qinfeng0214
Copy link

Is your feature request related to a problem? Please describe.
目前市面上主流UI库的React版本示例代码都是hooks版本的,Class写法越来越少。king design 最近发布了v3版本,期待示例代码也能更符合技术趋势

Describe the solution you'd like

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@Javey
Copy link
Member

Javey commented Oct 27, 2023

的确如此,目前采用class写法的原因是因为,示例代码是自动编译生成的,后面看看如何编译成hooks风格的代码

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