@tanstack/table-core 8.5.11 → 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.
- package/build/cjs/core/cell.js +6 -1
- package/build/cjs/core/cell.js.map +1 -1
- package/build/esm/index.js +4 -1
- package/build/esm/index.js.map +1 -1
- package/build/stats-html.html +17 -17
- package/build/stats-react.json +319 -312
- package/build/umd/index.development.js +4 -1
- package/build/umd/index.development.js.map +1 -1
- package/build/umd/index.production.js +1 -1
- package/build/umd/index.production.js.map +1 -1
- package/package.json +1 -1
- package/src/core/cell.ts +16 -9
|
@@ -3053,13 +3053,16 @@
|
|
|
3053
3053
|
column,
|
|
3054
3054
|
getValue: () => row.getValue(columnId),
|
|
3055
3055
|
renderValue: getRenderValue,
|
|
3056
|
-
getContext: () => ({
|
|
3056
|
+
getContext: memo(() => [table, column, row, cell], (table, column, row, cell) => ({
|
|
3057
3057
|
table,
|
|
3058
3058
|
column,
|
|
3059
3059
|
row,
|
|
3060
3060
|
cell: cell,
|
|
3061
3061
|
getValue: cell.getValue,
|
|
3062
3062
|
renderValue: cell.renderValue
|
|
3063
|
+
}), {
|
|
3064
|
+
key: 'cell.getContext',
|
|
3065
|
+
debug: () => table.options.debugAll
|
|
3063
3066
|
})
|
|
3064
3067
|
};
|
|
3065
3068
|
|