Skip to content

docs: Update Cloudflare hosting guide - #5357

Merged
schiller-manuel merged 1 commit into
TanStack:mainfrom
jamesopstad:update-cloudflare-docs
Oct 3, 2025
Merged

docs: Update Cloudflare hosting guide#5357
schiller-manuel merged 1 commit into
TanStack:mainfrom
jamesopstad:update-cloudflare-docs

Conversation

@jamesopstad

@jamesopstadjamesopstad commented Oct 3, 2025

Copy link
Copy Markdown
Contributor

Some minor updates to make this a bit clearer.

Summary by CodeRabbit

  • Documentation
    • Streamlined Cloudflare Workers deployment guide by merging installation and configuration steps.
    • Added instructions to install both the Cloudflare Vite plugin and Wrangler, and to enable the plugin in Vite.
    • Migrated Wrangler configuration to JSONC and simplified the example (removed unnecessary vars, simplified entry).
    • Updated package scripts: removed obsolete “start”; added “preview”, “deploy”, and “cf-typegen”.
    • Revised build and deployment instructions to reflect the integrated Cloudflare workflow.

@github-actionsgithub-actionsBot added the documentation Everything documentation related label Oct 3, 2025
@coderabbitai

coderabbitaiBot commented Oct 3, 2025

Copy link
Copy Markdown
Contributor

Walkthrough

The React Cloudflare Workers hosting doc was updated: consolidated installation/configuration steps, added Cloudflare Vite plugin usage, migrated wrangler config to JSONC, simplified example config, and revised package.json scripts and build/deploy instructions.

Changes

Cohort / File(s)Summary of Changes
Docs: Cloudflare Workers guide (React)
docs/start/framework/react/hosting.md
Merged install steps for @cloudflare/vite-plugin and wrangler; updated vite.config.ts to include Cloudflare plugin; migrated wrangler.json → wrangler.jsonc; removed vars block and simplified main entry; replaced/added package.json scripts (preview, deploy, cf-typegen); adjusted build/deploy instructions and examples.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • Update hosting.md #5252 — Also updates the same Cloudflare Workers setup in the React hosting doc, including plugin install, vite.config.ts updates, and wrangler/package.json changes.
  • docs: Fix cloudflare config #5225 — Modifies Cloudflare plugin usage/configuration in vite.config.ts within the same hosting guide.

Poem

A rabbit taps deploy with cheer,
Clouds aflutter, configs clear.
Vite and Wrangler hop in line,
JSONC’s a tidy sign.
Preview, ship—ears up, away!
Carrots cached for launch day.
🥕☁️🚀

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check nameStatusExplanation
Description Check✅ PassedCheck skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage✅ PassedNo functions found in the changes. Docstring coverage check skipped.
Title Check✅ PassedThe title accurately summarizes the main change by specifying that the Cloudflare hosting guide in the documentation is being updated, reflecting the core objective of the pull request without unnecessary detail or vagueness.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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

@nx-cloud

nx-cloudBot commented Oct 3, 2025

Copy link
Copy Markdown
Contributor

View your CI Pipeline Execution ↗ for commit b35a933

CommandStatusDurationResult
nx affected --targets=test:eslint,test:unit,tes...✅ Succeeded<1sView ↗
nx run-many --target=build --exclude=examples/*...✅ Succeeded3sView ↗

☁️ Nx Cloud last updated this comment at 2025-10-03 17:08:34 UTC

@pkg-pr-new

pkg-pr-newBot commented Oct 3, 2025

Copy link
Copy Markdown
More templates

@tanstack/arktype-adapter

npm i https://pkg.pr.new/TanStack/router/@tanstack/arktype-adapter@5357

@tanstack/directive-functions-plugin

npm i https://pkg.pr.new/TanStack/router/@tanstack/directive-functions-plugin@5357

@tanstack/eslint-plugin-router

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

@tanstack/history

npm i https://pkg.pr.new/TanStack/router/@tanstack/history@5357

@tanstack/nitro-v2-vite-plugin

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

@tanstack/react-router

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

@tanstack/react-router-devtools

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

@tanstack/react-router-ssr-query

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

@tanstack/react-start

npm i https://pkg.pr.new/TanStack/router/@tanstack/react-start@5357

@tanstack/react-start-client

npm i https://pkg.pr.new/TanStack/router/@tanstack/react-start-client@5357

@tanstack/react-start-server

npm i https://pkg.pr.new/TanStack/router/@tanstack/react-start-server@5357

@tanstack/router-cli

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

@tanstack/router-core

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

@tanstack/router-devtools

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

@tanstack/router-devtools-core

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

@tanstack/router-generator

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

@tanstack/router-plugin

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

@tanstack/router-ssr-query-core

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

@tanstack/router-utils

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

@tanstack/router-vite-plugin

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

@tanstack/server-functions-plugin

npm i https://pkg.pr.new/TanStack/router/@tanstack/server-functions-plugin@5357

@tanstack/solid-router

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

@tanstack/solid-router-devtools

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

@tanstack/solid-start

npm i https://pkg.pr.new/TanStack/router/@tanstack/solid-start@5357

@tanstack/solid-start-client

npm i https://pkg.pr.new/TanStack/router/@tanstack/solid-start-client@5357

@tanstack/solid-start-server

npm i https://pkg.pr.new/TanStack/router/@tanstack/solid-start-server@5357

@tanstack/start-client-core

npm i https://pkg.pr.new/TanStack/router/@tanstack/start-client-core@5357

@tanstack/start-plugin-core

npm i https://pkg.pr.new/TanStack/router/@tanstack/start-plugin-core@5357

@tanstack/start-server-core

npm i https://pkg.pr.new/TanStack/router/@tanstack/start-server-core@5357

@tanstack/start-static-server-functions

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

@tanstack/start-storage-context

npm i https://pkg.pr.new/TanStack/router/@tanstack/start-storage-context@5357

@tanstack/valibot-adapter

npm i https://pkg.pr.new/TanStack/router/@tanstack/valibot-adapter@5357

@tanstack/virtual-file-routes

npm i https://pkg.pr.new/TanStack/router/@tanstack/virtual-file-routes@5357

@tanstack/zod-adapter

npm i https://pkg.pr.new/TanStack/router/@tanstack/zod-adapter@5357

commit: b35a933

@coderabbitaicoderabbitaiBot 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: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 5f8d539 and b35a933.

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

📄 CodeRabbit inference engine (AGENTS.md)

Use internal docs links relative to the docs/ folder (e.g., ./guide/data-loading)

Files:

  • docs/start/framework/react/hosting.md
docs/{router,start}/**

📄 CodeRabbit inference engine (AGENTS.md)

Place router docs under docs/router/ and start framework docs under docs/start/

Files:

  • docs/start/framework/react/hosting.md
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: Preview

Comment threaddocs/start/framework/react/hosting.md
@schiller-manuelschiller-manuel changed the title Update Cloudflare hosting guidedocs: Update Cloudflare hosting guideOct 3, 2025
@schiller-manuel
schiller-manuel merged commit 9cf97c1 into TanStack:mainOct 3, 2025
6 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentationEverything documentation related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@jamesopstad@schiller-manuel