Skip to content

Show Redact feature ranges and lead with TanStack Start - #1423

Merged
tannerlinsley merged 2 commits into
mainfrom
taren/redact-framework-order
Oct 25, 2026
Merged

tannerlinsley merged 2 commits into
mainfrom
taren/redact-framework-order

Conversation

@tannerlinsley

@tannerlinsley tannerlinsley commented Oct 25, 2026 •

Copy link
Copy Markdown
Member

Redact now presents frameworks as Start, Vite, Vinext, then Next.js, with Start selected by default. The setup examples, feature examples, launch copy, and guide links use that order.

Start and Vite get segmented green bars showing the measured range from unused features disabled to the default build. Start measures 59.8 to 62.3 KB gzip; Vite measures 12.6 to 20.1 KB. Start retains hydration, context, Suspense, memoization, forwarded refs, lazy components, and class error boundaries. Vinext and Next.js keep solid bars because their integrations use the full runtime. The default comparisons and headline savings are unchanged.

The benchmark now reproduces all ten builds and records their exact sizes, hashes, and feature options. All ten passed browser startup, counter, input, and renderer checks; all seven SSR variants passed the server-rendered content checks. The chart source link pins those measurements to a commit.

Validation: pnpm test passed, including types, lint, 604 unit tests, 2,270 chat tests, and 20 desktop tests. Five existing skips and 104 existing lint warnings remain. Reviewed the chart at 320px, 390px, and 1280px in light and dark themes, and checked all four setup tabs.

Summary by CodeRabbit

  • New Features
    • Bundle comparisons now show optional reduced-size builds for TanStack Start and Vite, alongside default Redact sizes.
    • Start and Vite setup examples include configurations for creating smaller builds.
  • Documentation
    • Updated framework setup guides, release information, and benchmark details to cover Start and Vite.
    • Benchmark results now include lean builds for Start and Vite, with browser and server checks.

@changeset-bot

changeset-bot Bot commented Oct 25, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: b1d48fe

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai

coderabbitai Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 06275471-d528-4c22-9745-b0fbf0596ec1
Commits

Reviewing files that changed from the base of the PR and between d319d82 and b1d48fe.

Files selected for processing: 10
  • launch/benchmarks/redact-frameworks/README.md
  • launch/benchmarks/redact-frameworks/browser-checks.json
  • launch/benchmarks/redact-frameworks/measure.mjs
  • launch/benchmarks/redact-frameworks/results.json
  • launch/benchmarks/redact-frameworks/serve.mjs
  • launch/benchmarks/redact-frameworks/server-checks.json
  • launch/redact-next-vinext.md
  • src/blog/redact-nextjs-vinext.md
  • src/components/landing/RedactLanding.tsx
  • src/data/redact-framework-sizes.json

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.

Walkthrough

The benchmark adds smaller Redact builds for Start and Vite, records their results, and displays their sizes. The landing page, integration guide, and launch materials add or reorder framework setup information.

Changes: Lean framework benchmarks

Layer / File(s) Summary
Configure and validate lean builds
launch/benchmarks/redact-frameworks/measure.mjs, launch/benchmarks/redact-frameworks/serve.mjs, launch/benchmarks/redact-frameworks/browser-checks.json, launch/benchmarks/redact-frameworks/server-checks.json, launch/benchmarks/redact-frameworks/README.md
The benchmark adds lean variants for Start and Vite, applies their feature options, and checks that each lean build is smaller than its default Redact build. The launcher and check results include the new variants, and the README describes the builds and reproduction steps.
Record and display lean sizes
launch/benchmarks/redact-frameworks/results.json, src/data/redact-framework-sizes.json, src/components/landing/RedactLanding.tsx
The recorded results and size data add lean measurements for Start and Vite. The landing page displays optional lean-size segments and updates its feature-selection examples.
Update integration and launch materials
launch/redact-next-vinext.md, src/blog/redact-nextjs-vinext.md
The launch and integration materials reorder Vinext and Next.js references and add Start and Vite setup links and information.

Priority: Normal

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Feature

Possibly related PRs

  • TanStack/tanstack.com#1414: Creates the Redact landing page sections that this change updates with framework ordering, lean bundle sizes, and feature examples.
Merge Risk: Minimal · up to b1d48

The benchmark previews and displayed size comparisons are consistent with the recorded results. No issue identified here needs to be resolved before merging.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 3 files. (7 skipped: 7 … Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 4 passed
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names two real changes in the PR: Redact feature ranges (segmented green bars for Start and Vite showing lean-build size ranges, redact-lean results, and the bundle comparison) and the frame…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names two real changes in the PR: Redact feature ranges (segmented green bars for Start and Vite showing lean-build size ranges, redact-lean results, and the bundle comparison) and the framework reorder that leads with TanStack Start (Start, Vite, Vinext, Next.js order in setup tabs, launch copy, and guide links). It is a single, concise sentence, and both parts appear in the raw summary and objectives. It does not cover the benchmark tooling, browser and server checks, or the bundle-size data updates, which is expected for a title of this length.

Full details: Docstring Coverage

Explanation

Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 3 files. (7 skipped: 7 unsupported.)

Resolution

Write docstrings for the functions missing them to satisfy the coverage threshold.

Finishing Touches: 💡 1
📝 Generate docstrings: 💡
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
tanstack-com b1d48fe Commit Preview URL

Branch Preview URL
Oct 25 2026, 08:10 PM

@tannerlinsley
tannerlinsley merged commit bd54ef4 into main Oct 25, 2026
8 checks passed
@tannerlinsley
tannerlinsley deleted the taren/redact-framework-order branch October 25, 2026 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant