@tanstack/react-table 8.5.9 → 8.5.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3065,13 +3065,16 @@ function createCell(table, row, column, columnId) {
3065
3065
  column,
3066
3066
  getValue: () => row.getValue(columnId),
3067
3067
  renderValue: getRenderValue,
3068
- getContext: () => ({
3068
+ getContext: memo(() => [table, column, row, cell], (table, column, row, cell) => ({
3069
3069
  table,
3070
3070
  column,
3071
3071
  row,
3072
3072
  cell: cell,
3073
3073
  getValue: cell.getValue,
3074
3074
  renderValue: cell.renderValue
3075
+ }), {
3076
+ key: process.env.NODE_ENV === 'development' && 'cell.getContext',
3077
+ debug: () => table.options.debugAll
3075
3078
  })
3076
3079
  };
3077
3080
 
@@ -3803,7 +3806,6 @@ function getExpandedRowModel() {
3803
3806
 
3804
3807
  if (!paginateExpandedRows) {
3805
3808
  // Only expand rows at this point if they are being paginated
3806
- console.log(rowModel.rows);
3807
3809
  return rowModel;
3808
3810
  }
3809
3811
 
@@ -3872,7 +3874,6 @@ function getPaginationRowModel(opts) {
3872
3874
  };
3873
3875
  }
3874
3876
 
3875
- console.log(paginatedRowModel.rows);
3876
3877
  paginatedRowModel.flatRows = [];
3877
3878
 
3878
3879
  const handleRow = row => {