Skip to content

docs(workers): clarify that the React CLI scaffold and deploy template differ - #32388

Open
Mohith26 wants to merge 1 commit into
cloudflare:productionfrom
Mohith26:docs/react-vite-clarify-deploy-paths
Open

docs(workers): clarify that the React CLI scaffold and deploy template differ#32388
Mohith26 wants to merge 1 commit into
cloudflare:productionfrom
Mohith26:docs/react-vite-clarify-deploy-paths

Conversation

@Mohith26

Copy link
Copy Markdown

Addresses #32368, reported by @lucasmsoares96.

The React + Vite guide shows the C3 command and the Deploy to Workers button side by side, and the button's description ("React, Hono API and Vite, with CI/CD and previews all set up for you") reads as if it also describes the CLI command directly above it. Running the CLI command scaffolds a plain Worker API without Hono and sets up no CI/CD, which is exactly the mismatch the issue reproduces.

This adds one clarifying sentence next to the deploy button naming the template it deploys (vite-react-template) and spelling out how it differs from the CLI scaffold. No structural changes to the page.

…e differ

The React + Vite guide presented the CLI command and the Deploy to
Workers button side by side with a description implying both produce a
Hono API with CI/CD. The CLI scaffold creates a plain Worker API without
Hono and no CI/CD. Spell out the difference next to the deploy button.
@github-actions github-actions Bot added the product:workers Related to Workers product label Jul 29, 2026
@cloudflare-docs-bot

cloudflare-docs-bot Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Review

⚠️ 1 warning, 💡 1 suggestion found in commit 63c48cb.

👉 Fix in your agent 👈
Fix the following review findings in PR #32388 (https://github.com/cloudflare/cloudflare-docs/pull/32388).

Before making changes, review each finding and present a brief summary table:
- For each finding, state whether you agree, disagree, or need clarification
- If you disagree (e.g. the fix requires disproportionate effort for minimal benefit,
  or the finding is factually incorrect), explain why
- If you need clarification before deciding, ask those questions
- Then share your plan for which issues to tackle and in what order

After triaging, follow this order:
1. Post a comment on this PR for any findings you are skipping, with the finding ID and your reasoning.
2. Then commit the fixes for the legitimate findings.

The comment must come before the commit — the bot reads PR comments when a new
push triggers a review, so skip comments posted after the push will be missed.

---

## Style Guide Review

### Warnings (1)

#### SG-f7b610885b20 · Directional words
- **File:** `src/content/docs/workers/framework-guides/web-apps/react.mdx` line 32
- **Issue:** Line refers to "the CLI scaffold above"
- **Fix:** Replace with a direct reference by name or link, such as "the earlier CLI scaffold"

### Suggestions (1)

#### SG-14bc359d20c7 · Oxford comma
- **File:** `src/content/docs/workers/framework-guides/web-apps/react.mdx` line 32
- **Issue:** List "React, Hono API and Vite" is missing a comma before "and"
- **Fix:** Add an Oxford comma: "React, Hono API, and Vite"

Code Review

This code review is in beta and may not always be helpful — use your judgment.

No code review issues found.

Conventions

No convention issues found.

Style Guide Review

Warnings (1)
File Issue
workers/framework-guides/web-apps/react.mdx line 32 Directional words — Line refers to "the CLI scaffold above" Fix: Replace with a direct reference by name or link, such as "the earlier CLI scaffold"
Suggestions (1)
File Issue
workers/framework-guides/web-apps/react.mdx line 32 Oxford comma — List "React, Hono API and Vite" is missing a comma before "and" Fix: Add an Oxford comma: "React, Hono API, and Vite"
Commands

Only codeowners can run commands. Post a comment with the command to trigger it.

Command Description
/review Runs a review now. Incremental if a prior review exists, full if not.
/full-review Re-reviews the entire PR diff from scratch, ignoring incremental history. Useful after a rebase, when you want a fresh review, or if the bot gets out of sync and reports issues that no longer exist.
/ignore-review-limit Permanently lifts the 2-review automatic limit for this PR. Future pushes will trigger reviews as normal.
/disable-auto-review Stops automatic reviews from triggering on future pushes to this PR. Codeowners can still run /review or /full-review manually.
/rebase Rebases the PR branch against production. On conflict, attempts to resolve automatically using AI. Stops with an explanation if confidence is not high enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:workers Related to Workers product size/xs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants