import { genTable } from 'rc-table'; import type { AnyObject } from '../../_util/type'; import type { InternalTableProps } from '../InternalTable'; /** * Same as `rc-table` but we modify trigger children update logic instead. */ const RcTable = genTable((prev, next) => { const { _renderTimes: prevRenderTimes } = prev as Readonly>; const { _renderTimes: nextRenderTimes } = next as Readonly>; return prevRenderTimes !== nextRenderTimes; }); export default RcTable;