← Back to Notes

Large enterprise tables do not become fast because the component library is fast. The data contract, query shape and rendering strategy have to agree.

Share by email
Downloads 00
No attached files This note does not include additional downloadable material. 0
Speech synthesis is not supported by this browser or device.

Enterprise frontends often fail performance reviews in a misleading way. The UI looks like the culprit because that is where the lag is visible, but the actual problem is frequently the contract between browser and backend.

In one manufacturing platform I rebuilt large-dataset views around React 18, TypeScript and RTK Query and moved pagination, sorting and filtering to the server. In representative views measured with Chrome DevTools, browser memory consumption dropped by roughly 70%.

The interesting part was not a clever memoization trick. It was removing work the browser should never have received.

A table is a distributed feature

A serious data grid spans at least four layers:

  • query semantics in the API;
  • database filtering and ordering;
  • cache identity in the client;
  • rendering and interaction in the UI.

If any layer pretends the full dataset is “just local state”, the browser eventually pays for it.

Measure the shape of the problem

Before optimizing components, capture:

  1. transferred payload size;
  2. retained heap after repeated navigation;
  3. number of mounted rows and cells;
  4. request duplication;
  5. API query time.

This separates rendering cost from data-retention cost and backend cost.

The practical rule

Do not optimize the component before deciding whether the component should own the data at all.

For large operational datasets, server-side query semantics are often the highest-ROI frontend optimization.

0%