React Compiler: never memo Tanstack Table

This commit is contained in:
gbuomprisco
2024-10-28 12:14:53 +08:00
parent 74c4f3cc85
commit b47151fb3c
2 changed files with 4 additions and 1 deletions

View File

@@ -26,6 +26,9 @@ export function DataTable<TData, TValue>({
columns,
data,
}: DataTableProps<TData, TValue>) {
// TODO: remove when https://github.com/TanStack/table/issues/5567 gets fixed
'use no memo';
const table = useReactTable({
data,
columns,