Commit 37917e5
Enable server-side rendering by default in generator template
- Change index.html.erb template from prerender: false to prerender: true
- Demonstrates SSR capabilities out of the box for new React on Rails apps
- Provides better initial experience with improved SEO and performance
- Users can still disable by changing to prerender: false if needed
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>1 parent ed3bda3 commit 37917e5
File tree
1 file changed
+1
-1
lines changed- lib/generators/react_on_rails/templates/base/base/app/views/hello_world
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
0 commit comments