forked from linkong/planet
first commit
This commit is contained in:
commit
e7033775d8
20657 files changed
+1988940
No files matched your search
+16
@@ -0,0 +1,16 @@
|
||||
"use client";
|
||||
|
||||
import { genVirtualTable } from 'rc-table';
|
||||
/**
|
||||
* Same as `rc-table` but we modify trigger children update logic instead.
|
||||
*/
|
||||
const RcVirtualTable = genVirtualTable((prev, next) => {
|
||||
const {
|
||||
_renderTimes: prevRenderTimes
|
||||
} = prev;
|
||||
const {
|
||||
_renderTimes: nextRenderTimes
|
||||
} = next;
|
||||
return prevRenderTimes !== nextRenderTimes;
|
||||
});
|
||||
export default RcVirtualTable;
|
||||
Reference in new issue
Block a user