High
Rails
Use Hotwire for interactivity
Official
Rule Description
For Rails 7+ applications, prefer Hotwire (Turbo + Stimulus) over React/Vue:
- Turbo Drive: Automatic AJAX page transitions
- Turbo Frames: Partial page updates without JavaScript
- Turbo Streams: Real-time updates over WebSocket
- Stimulus: Lightweight JavaScript for sprinkles of behavior
Only use a JavaScript framework when you need complex client-side state
management (e.g., collaborative editing, complex forms, offline support).
Add This Rule
Sign in to add this rule to your workspace
Sign in with GitHubDetails
- Severity
- High
- Category
- Rails
- Used in
- 2 rulesets