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
table/src/Body/BodyRow.tsx
Lines 85 to 97 in 6f538dc
目前是用一个set存的所有已展开行的key,然后到这里react就会重新渲染所有已展开的行,造成不必要的开销。是否应该将是否展开作为行数据的一个属性,配合key,react就可以做到精准更新这一行。
目前的方案还存在一个问题,数据源改变后 #mergedExpandedKeys并没有改变,当数据源重新变回来后又以展开状态渲染了表格。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
table/src/Body/BodyRow.tsx
Lines 85 to 97 in 6f538dc
目前是用一个set存的所有已展开行的key,然后到这里react就会重新渲染所有已展开的行,造成不必要的开销。是否应该将是否展开作为行数据的一个属性,配合key,react就可以做到精准更新这一行。
目前的方案还存在一个问题,数据源改变后 #mergedExpandedKeys并没有改变,当数据源重新变回来后又以展开状态渲染了表格。
The text was updated successfully, but these errors were encountered: