Skip to content

docs: update Next.js middleware description#6155

Merged
LadyBluenotes merged 7 commits into
TanStack:mainfrom
kostyniuk:patch-1
Jul 18, 2026
Merged

docs: update Next.js middleware description#6155
LadyBluenotes merged 7 commits into
TanStack:mainfrom
kostyniuk:patch-1

Conversation

@kostyniuk

@kostyniuk kostyniuk commented Dec 20, 2025

Copy link
Copy Markdown
Contributor

🎯 Changes

Update Next.js middleware description to match the Next.js 16 syntax.

✅ Checklist

🚀 Release Impact

  • This change is docs/CI/dev-only (no release).

Summary by CodeRabbit

  • Documentation
    • Updated the React framework comparison guide for Next.js, noting that the new single server-side proxy (proxy.ts) replaces the deprecated Edge-runtime middleware (middleware.ts). It also highlights that the proxy runs on the Node.js runtime with full access to server-side resources (for example, databases).

@github-actions github-actions Bot added the documentation Everything documentation related label Dec 20, 2025
@coderabbitai

coderabbitai Bot commented Dec 20, 2025

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 389f30f6-c7c1-4119-9df2-c23cfdfb03bd

📥 Commits

Reviewing files that changed from the base of the PR and between bebaec5 and 8ef2609.

📒 Files selected for processing (1)
  • docs/start/framework/react/comparison.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • docs/start/framework/react/comparison.md

📝 Walkthrough

Walkthrough

Updated the React framework comparison documentation to describe Next.js using proxy.ts on the Node.js runtime instead of deprecated middleware.ts, with access to server-side resources such as databases.

Changes

Next.js documentation

Layer / File(s) Summary
Middleware architecture description
docs/start/framework/react/comparison.md
Updated the Next.js description to reference proxy.ts, the Node.js runtime, and server-side resource access.

Estimated code review effort: 1 (Trivial) | ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the documentation change to the Next.js middleware description.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 27d1c5e and 4745e4c.

📒 Files selected for processing (1)
  • docs/start/framework/react/comparison.md (1 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
docs/**/*.{md,mdx}

📄 CodeRabbit inference engine (AGENTS.md)

Use relative links to docs/ folder format (e.g., ./guide/data-loading) for internal documentation references

Files:

  • docs/start/framework/react/comparison.md

Comment thread docs/start/framework/react/comparison.md Outdated
@brenelz

brenelz commented Jan 4, 2026

Copy link
Copy Markdown
Contributor

Some conflicts

Correct grammatical error in comparison of Next.js limitations.
Updated Next.js proxy.ts description to reflect runtime changes.
@kostyniuk

Copy link
Copy Markdown
Contributor Author

revised the update @schiller-manuel , @brenelz

@LadyBluenotes

Copy link
Copy Markdown
Member

This update is still relevant for Next.js 16, but the revised line currently starts with an extra +. Could you remove that so it renders correctly?

@kostyniuk

Copy link
Copy Markdown
Contributor Author

@LadyBluenotes done, thanks

@nx-cloud

nx-cloud Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

View your CI Pipeline Execution ↗ for commit 8ef2609

Command Status Duration Result
nx run-many --target=build --exclude=examples/*... ✅ Succeeded 2m 23s View ↗
nx affected --targets=test:eslint,test:unit,tes... ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2026-07-17 21:30:19 UTC

@pkg-pr-new

pkg-pr-new Bot commented Jul 17, 2026

Copy link
Copy Markdown
More templates

@tanstack/arktype-adapter

npm i https://pkg.pr.new/@tanstack/arktype-adapter@6155

@tanstack/eslint-plugin-router

npm i https://pkg.pr.new/@tanstack/eslint-plugin-router@6155

@tanstack/eslint-plugin-start

npm i https://pkg.pr.new/@tanstack/eslint-plugin-start@6155

@tanstack/history

npm i https://pkg.pr.new/@tanstack/history@6155

@tanstack/nitro-v2-vite-plugin

npm i https://pkg.pr.new/@tanstack/nitro-v2-vite-plugin@6155

@tanstack/react-router

npm i https://pkg.pr.new/@tanstack/react-router@6155

@tanstack/react-router-devtools

npm i https://pkg.pr.new/@tanstack/react-router-devtools@6155

@tanstack/react-router-ssr-query

npm i https://pkg.pr.new/@tanstack/react-router-ssr-query@6155

@tanstack/react-start

npm i https://pkg.pr.new/@tanstack/react-start@6155

@tanstack/react-start-client

npm i https://pkg.pr.new/@tanstack/react-start-client@6155

@tanstack/react-start-rsc

npm i https://pkg.pr.new/@tanstack/react-start-rsc@6155

@tanstack/react-start-server

npm i https://pkg.pr.new/@tanstack/react-start-server@6155

@tanstack/router-cli

npm i https://pkg.pr.new/@tanstack/router-cli@6155

@tanstack/router-core

npm i https://pkg.pr.new/@tanstack/router-core@6155

@tanstack/router-devtools

npm i https://pkg.pr.new/@tanstack/router-devtools@6155

@tanstack/router-devtools-core

npm i https://pkg.pr.new/@tanstack/router-devtools-core@6155

@tanstack/router-generator

npm i https://pkg.pr.new/@tanstack/router-generator@6155

@tanstack/router-plugin

npm i https://pkg.pr.new/@tanstack/router-plugin@6155

@tanstack/router-ssr-query-core

npm i https://pkg.pr.new/@tanstack/router-ssr-query-core@6155

@tanstack/router-utils

npm i https://pkg.pr.new/@tanstack/router-utils@6155

@tanstack/router-vite-plugin

npm i https://pkg.pr.new/@tanstack/router-vite-plugin@6155

@tanstack/solid-router

npm i https://pkg.pr.new/@tanstack/solid-router@6155

@tanstack/solid-router-devtools

npm i https://pkg.pr.new/@tanstack/solid-router-devtools@6155

@tanstack/solid-router-ssr-query

npm i https://pkg.pr.new/@tanstack/solid-router-ssr-query@6155

@tanstack/solid-start

npm i https://pkg.pr.new/@tanstack/solid-start@6155

@tanstack/solid-start-client

npm i https://pkg.pr.new/@tanstack/solid-start-client@6155

@tanstack/solid-start-server

npm i https://pkg.pr.new/@tanstack/solid-start-server@6155

@tanstack/start-client-core

npm i https://pkg.pr.new/@tanstack/start-client-core@6155

@tanstack/start-fn-stubs

npm i https://pkg.pr.new/@tanstack/start-fn-stubs@6155

@tanstack/start-plugin-core

npm i https://pkg.pr.new/@tanstack/start-plugin-core@6155

@tanstack/start-server-core

npm i https://pkg.pr.new/@tanstack/start-server-core@6155

@tanstack/start-static-server-functions

npm i https://pkg.pr.new/@tanstack/start-static-server-functions@6155

@tanstack/start-storage-context

npm i https://pkg.pr.new/@tanstack/start-storage-context@6155

@tanstack/valibot-adapter

npm i https://pkg.pr.new/@tanstack/valibot-adapter@6155

@tanstack/virtual-file-routes

npm i https://pkg.pr.new/@tanstack/virtual-file-routes@6155

@tanstack/vue-router

npm i https://pkg.pr.new/@tanstack/vue-router@6155

@tanstack/vue-router-devtools

npm i https://pkg.pr.new/@tanstack/vue-router-devtools@6155

@tanstack/vue-router-ssr-query

npm i https://pkg.pr.new/@tanstack/vue-router-ssr-query@6155

@tanstack/vue-start

npm i https://pkg.pr.new/@tanstack/vue-start@6155

@tanstack/vue-start-client

npm i https://pkg.pr.new/@tanstack/vue-start-client@6155

@tanstack/vue-start-server

npm i https://pkg.pr.new/@tanstack/vue-start-server@6155

@tanstack/zod-adapter

npm i https://pkg.pr.new/@tanstack/zod-adapter@6155

commit: 8ef2609

@LadyBluenotes
LadyBluenotes merged commit 31a634d into TanStack:main Jul 18, 2026
9 checks passed
@kostyniuk
kostyniuk deleted the patch-1 branch July 18, 2026 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Everything documentation related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants