mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 04:30:25 +02:00
large performance refactor
This commit is contained in:
@@ -6,6 +6,7 @@ import { AnimatePresence, motion } from 'motion/react';
|
||||
import { useOverlayScrollbars } from 'overlayscrollbars-react';
|
||||
import React, {
|
||||
type JSXElementConstructor,
|
||||
memo,
|
||||
ReactElement,
|
||||
Ref,
|
||||
useCallback,
|
||||
@@ -704,7 +705,7 @@ interface ItemTableListProps {
|
||||
startRowIndex?: number;
|
||||
}
|
||||
|
||||
export const ItemTableList = ({
|
||||
const BaseItemTableList = ({
|
||||
activeRowId,
|
||||
autoFitColumns = false,
|
||||
CellComponent,
|
||||
@@ -2178,3 +2179,7 @@ export const ItemTableList = ({
|
||||
</motion.div>
|
||||
);
|
||||
};
|
||||
|
||||
export const ItemTableList = memo(BaseItemTableList);
|
||||
|
||||
ItemTableList.displayName = 'ItemTableList';
|
||||
|
||||
Reference in New Issue
Block a user