-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Labels
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
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每一次都是不同的值。。。。。。)
longyongchao and xiaozhaojqk
