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
4.1.0
node 18 antdv 3.x | 4.x
https://codesandbox.io/p/sandbox/antd-table-hover-bug-43p54p
每一次hover的时候,这一行都会重新render,导致customrender 里面每一次的都是最新的元素。在我上面的codebox链接中,hover的时候一直在console台中输出render
性能问题是其一, 二是在antd写h和createVnode函数双向绑定的时候在每一次hover都会失效,因为会重新render(这是我在双向绑定switch这个组件的时候发现的,modalvalue和update:modalvalue每一次都是不同的值。。。。。。)
The text was updated successfully, but these errors were encountered:
相关资料参考: ant-design/ant-design#32979 https://github.com/react-component/table/commits/render-split
Sorry, something went wrong.
issue区找了一下,找到了3个相关的 #5454 #5453 #6003
No branches or pull requests
Version
4.1.0
Environment
node 18 antdv 3.x | 4.x
link
https://codesandbox.io/p/sandbox/antd-table-hover-bug-43p54p
Steps to reproduce
每一次hover的时候,这一行都会重新render,导致customrender 里面每一次的都是最新的元素。在我上面的codebox链接中,hover的时候一直在console台中输出render
性能问题是其一, 二是在antd写h和createVnode函数双向绑定的时候在每一次hover都会失效,因为会重新render(这是我在双向绑定switch这个组件的时候发现的,modalvalue和update:modalvalue每一次都是不同的值。。。。。。)
The text was updated successfully, but these errors were encountered: