We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
很多组件需要自定义内容的时候,文档上描述都是要求使用h渲染函数,但是实际操作起来很难用,内容复杂的情况下就是个灾难,为什么不改用slot插槽呢?
建议将需要使用h渲染函数的地方改为slot插槽
The text was updated successfully, but these errors were encountered:
这个讨论此次数也比较多了,是一个综合之后的权衡,没有完美的方案,都是踩下一头就翘起另一头。
#106
Sorry, something went wrong.
这个完全可以参考element+,element+不也是用的typescript吗?h函数体验真的不好,我的同事们没有不吐槽的
真难受。
毛遂自荐 @skit/x.naive-ui,基于 Naive-UI 二次封装了 DataTable 组件,支持插槽式的写法。
No branches or pull requests
This function solves the problem (这个功能解决的问题)
很多组件需要自定义内容的时候,文档上描述都是要求使用h渲染函数,但是实际操作起来很难用,内容复杂的情况下就是个灾难,为什么不改用slot插槽呢?
Expected API (期望的 API)
建议将需要使用h渲染函数的地方改为slot插槽
The text was updated successfully, but these errors were encountered: