@bwp-web/components 1.0.4 → 1.0.5

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/dist/index.js CHANGED
@@ -1757,6 +1757,11 @@ function useBiampServerSideTable({
1757
1757
  columns,
1758
1758
  getCoreRowModel: coreRowModel,
1759
1759
  getRowId,
1760
+ // Server-side tables manage their own state — disable TanStack's auto-reset
1761
+ // heuristic which watches for data reference changes and resets page index,
1762
+ // selection, etc. With unstable data references (e.g. `items ?? []`) this
1763
+ // causes infinite re-render loops.
1764
+ autoResetAll: false,
1760
1765
  // Sorting — always manual for server-side tables
1761
1766
  manualSorting: true,
1762
1767
  sortDescFirst: false,