Browse documentation
Developer guide1 min read

Data table bundle size and tree shaking

Choose a renderer and feature composition deliberately instead of shipping the complete compatibility surface to every page.

Measured choices

#

Bare Base is approximately 12.6 KB gzip, Base with standardPreset about 13.6 KB, Base with all first-party modules about 20.2 KB, and Complete about 46.7 KB.

Compose exact features

#

Import Base plus only the selection, grouping, editing, responsive, virtualization, search-panes, export, pivot, column-control, and sticky modules the product uses.

Enforce a budget

#

Measure the real consumer bundle in CI. Keep CSS and JavaScript budgets separate and fail on regressions rather than relying on source-file size.

Generate an exact setup

#

This recipe focuses on the integration pattern. Replace application-specific values and callbacks with your own data and services.

Generate an exact setup
Shell
npx wts-data-table setup   --renderer base   --features selection,responsive,virtualization   --write
Need a complete starting point?

The framework quick start includes install commands, a typed data file, and the component that renders it.

Go to the quick start →

Ready to try it with real data?

Explore configurable examples ↗