Commit ad7c916
Polish configuration error message and add test comment (#1976)
## Summary
Two small improvements: better error message wording and a clarifying
test comment.
## Changes
- **`lib/react_on_rails/configuration.rb`**: Improve error message
wording
- Remove extra comma and space
- Remove "which may cause performance issues" phrase
- Reorder to show preferred `:defer` before `:sync`
- **`spec/dummy/spec/helpers/react_on_rails_helper_spec.rb`**: Add
comment explaining why defer is the default loading strategy
## Test Plan
- ✅ RuboCop passes
- ✅ No functional changes
🤖 Generated with [Claude Code](https://claude.com/claude-code)
<!-- Reviewable:start -->
- - -
This change is [<img src="https://reviewable.io/review_button.svg"
height="34" align="absmiddle"
alt="Reviewable"/>](https://reviewable.io/reviews/shakacode/react_on_rails/1976)
<!-- Reviewable:end -->
Co-authored-by: Claude <[email protected]>1 parent 28405e3 commit ad7c916
File tree
2 files changed
+4
-2
lines changed- lib/react_on_rails
- spec/dummy/spec/helpers
2 files changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
176 | | - | |
| 175 | + | |
| 176 | + | |
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
| 81 | + | |
80 | 82 | | |
81 | 83 | | |
82 | 84 | | |
| |||
0 commit comments