Skip to content

Commit e2658e6

Browse files
Fix .server.jsx bundle wording inconsistency in AGENTS.md
The explanatory sentence on line 176 said "only in the server bundle" contradicting line 173 which correctly includes the RSC bundle. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 055985a commit e2658e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ A React on Rails auto-bundling feature that controls which webpack bundle import
173173
- `Component.server.jsx` → imported only in the **server bundle** (and RSC bundle when RSC enabled)
174174
- `Component.jsx` (no suffix) → imported in **both** bundles
175175

176-
This controls where the source file is loaded, nothing more. A `.server.jsx` file is NOT a React Server Component — it's just a file that webpack includes only in the server bundle.
176+
This controls where the source file is loaded, nothing more. A `.server.jsx` file is NOT a React Server Component — it is simply a file that webpack includes in the server bundle (and the RSC bundle when RSC is enabled).
177177

178178
### 2. RSC Classification (`'use client'` directive)
179179

0 commit comments

Comments
 (0)