Skip to content
Source
Sign inSign up
TanStack/redact

docs: update SURFACE.md and SAVINGS_ANALYSIS.md for @tanstack/redact #3

Mergedtannerlinsleymerged 1 commit intomain fromrefs/pull/3/headmerged by tannerlinsley

tannerlinsleycommented

Summary

The two docs in docs/ were last touched before the rename + consolidation. They still described the previous 6-package layout, used the old tanstack-react project name, and listed stale size numbers from before the feature-flag system landed.

  • SURFACE.md — rewrote the Package layout section for the consolidated packages/redact/src/{core,react,dom,server,scheduler,vite}/ tree with React-shape alias mapping. Replaced the speculative "Size budget (working targets)" with the actual shipped sizes from pnpm size.
  • SAVINGS_ANALYSIS.md — refreshed every number against React 19.2.3 measured by scripts/size-react-real.mjs and @tanstack/redact@0.0.1 measured by scripts/size.mjs. Added a new "Per-feature savings (full → stub)" table covering all 8 opt-in features.

Test plan

  • grep -E 'tanstack-react|tanstackDom|@tanstack/react[^-]|@tanstack/react-dom|@tanstack/dom-core|@tanstack/dom-vite|@tanstack/scheduler' docs/*.md — no stale refs (only legitimate external @tanstack/react-store/@tanstack/react-start-rsc mentions remain)
  • Numbers cross-checked against node scripts/size.mjs and node scripts/size-react-real.mjs
    1. tannerlinsley merged this60cbcda

    2. tannerlinsley closed this

Sign in to join this conversation.