naive-ui
naive-ui copied to clipboard
期待有一天能用 Slot 插槽替换所有 Render 函数
Clear and concise description of the problem
感觉好多场景都可以用 Slot 代替 Render 函数 期待有一天能用 Slot 插槽替换所有 Render 函数
Suggested solution
/
Alternative
No response
Additional context
No response
Validations
- [X] Read the Contributing Guidelines.
- [X] Read the docs.
- [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
目前来说,是没有那一天的,作者也说过了不用插槽的原因,也不会花精力做这件事
为什么我觉得 h 函数挺好用的 [脸红]
https://github.com/tusen-ai/naive-ui/issues/216
tsx 一样的