Skip to content

Commit 96ec27d

Browse files
ihabadhamclaude
andcommitted
Update Node.js requirement from 18+/16 to 20+ across documentation
Fixes Node version inconsistencies identified by CodeRabbit in PR #1860. Changes: - docs/introduction.md: 18+ → 20+ - docs/getting-started/quick-start.md: 18+ → 20+ - docs/deployment/heroku-deployment.md: 16.19.0 → 20.0.0 Rationale: - React on Rails v16 requires Node 20+ for ESM module support - Node 16 reached EOL in September 2023 - Node 18 reaches EOL in April 2025 - CI currently tests only Node 20 and 22 - Release notes specify Node 20.19.0+ or 22.12.0+ required The tutorial.md (line 7) says "Updated for React on Rails v16" and users following it would use Node 20+, so deployment guide should match to avoid confusion. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent da6e8c6 commit 96ec27d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/deployment/heroku-deployment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ Next, update your `package.json` to specify the version of yarn and node. Add th
129129

130130
```json
131131
"engines": {
132-
"node": "16.19.0",
132+
"node": "20.0.0",
133133
"yarn": "1.22.4"
134134
},
135135
```

docs/getting-started/quick-start.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Before starting, make sure you have:
1212
- **🚨 Shakapacker 6+** (7+ recommended for React on Rails 16)
1313
- **Rails 7+** application (Rails 5.2+ supported)
1414
- **Ruby 3.0+** (required)
15-
- **Node.js 18+** and **Yarn**
15+
- **Node.js 20+** and **Yarn**
1616
- **Basic familiarity** with React and Rails
1717

1818
> 💡 **Don't have a Rails app?** Run `rails new my_react_app` first.

docs/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ Read the full **[React on Rails Doctrine](./misc/doctrine.md)** for our design p
104104

105105
- **Rails 7+** (Rails 5.2+ supported)
106106
- **Ruby 3.0+**
107-
- **Node.js 18+**
107+
- **Node.js 20+**
108108
- **Shakapacker 6+** (7+ recommended for React on Rails v16)
109109

110110
## Need Help?

0 commit comments

Comments
 (0)