Skip to content

Prepare Redact's Next.js and Vinext launch - #1422

Merged
tannerlinsley merged 7 commits into
mainfrom
taren/redact-framework-landing
Oct 25, 2026
Merged

tannerlinsley merged 7 commits into
mainfrom
taren/redact-framework-landing

Conversation

@tannerlinsley

@tannerlinsley tannerlinsley commented Oct 25, 2026 •

Copy link
Copy Markdown
Member

Redact's landing page now shows React-to-Redact bundle reductions for TanStack Start, Vite, Vinext, and Next.js, with four charts on one shared scale and working setup tabs for each framework. Small framework icons, rounded-up KB labels beside each bar, and a one-line source note keep the chart details compact. Exact byte totals remain available on hover and to screen readers.

The chart measurements use the same single-route counter, controlled input, and CSS, the same React version, and the exact release-candidate tarball. They count every emitted client JS and CSS file, compressed separately with gzip. Start saves 47.0 KB (43.0%), Vite 48.1 KB (70.5%), Vinext 39.3 KB (28.5%), and Next.js 35.7 KB (20.4%). These are starter apps, not universal percentages. The PR includes the fixture generator, pinned dependency lockfile, per-file hashes and sizes, and browser/server verification records.

The Start setup bundles server dependencies through Vite so their React imports use the same renderer as application code. Both measured Start variants use that configuration. The shared landing columns can shrink with the available content width, fixing clipping beside the desktop sidebar.

The draft article retains the separate six-round Vinext benchmark: 39.4 KB less output (25.4%), including lazy routes. Build times were effectively equal; local startup was 2.2% faster for App Router and 4.9% faster for the large Pages fixture. Browser rendering speed was not measured.

Validation: all eight measured production builds passed client startup, counter, input, and renderer checks. All six SSR variants returned the app in their initial HTML. Reviewed charts at 320px, 390px, and 1280px, including light and dark themes, the Start setup, and the shared Query landing layout. pnpm test passed: types, lint with zero errors, 604 unit tests, 2,270 chat tests, and 20 desktop tests. Five existing skips and 104 existing lint warnings remain.

The release candidate's 2,694 Next.js, 1,410 local Vinext, and 282 hosted scenarios pass, with both original runtime size limits intact and a clean consumer audit. Required platform corrections ship with Redact, so no upstream release is needed.

Keep the article draft and unpublished-release notice until @tanstack/redact 0.2.0 is available and its published integrations are verified. The launch checklist records the publication order and evidence. Release PR: TanStack/redact#52

@changeset-bot

changeset-bot Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 0e11147

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 →

Caution

Review failed

The pull request is closed.

Finishing Touches
📝 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

cloudflare-workers-and-pages Bot commented Oct 25, 2026 •

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 0e11147 Commit Preview URL

Branch Preview URL
Oct 25 2026, 06:36 PM

@tannerlinsley tannerlinsley changed the title Show Redact's Next.js and Vinext integrations Prepare Redact's Next.js and Vinext launch Oct 25, 2026
@socket-security

socket-security Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednext@​16.4.362100909970
Addedreact-server-dom-webpack@​19.3.11001007896100
Addedvinext@​1.3.0901001009780
Addedvite@​8.3.5991008298100
Addedreact@​19.3.11001008497100
Addedreact-dom@​19.3.11001009298100
Added@​vitejs/​plugin-react@​6.1.210010010092100
Added@​vitejs/​plugin-rsc@​0.5.389910010097100
Added@​tanstack/​redact@​0.1.5N/AN/AN/AN/AN/A

View full report

@tannerlinsley
tannerlinsley marked this pull request as ready for review October 25, 2026 18:42
@tannerlinsley
tannerlinsley requested a review from a team October 25, 2026 18:42
@tannerlinsley
tannerlinsley merged commit d319d82 into main Oct 25, 2026
7 of 8 checks passed
@tannerlinsley
tannerlinsley deleted the taren/redact-framework-landing branch October 25, 2026 18:42
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