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