You're Doing Rails Wrong
4 hours ago
- #Modern Stacks
- #Web Development
- #Rails
- Vite is recommended for Rails 8 for its speed and modern features.
- Using React with Rails now requires Node, npm, and additional configurations like Babel and PostCSS.
- Tailwind, ESLint, Prettier, and Husky are suggested for styling, code quality, and pre-commit hooks.
- Server-side rendering options include Next.js or Remix, adding complexity.
- StimulusReflex or Hotwire can be used for reactive components without JS frameworks, requiring ActionCable and Redis.
- Docker is recommended for dependency isolation, with Docker Compose and Fly.io for deployment.
- John demonstrates that vanilla Rails can be fast and efficient without the complex setup.