TLDR Web Dev · OPINIONS & ADVICE

PART 1: HOW WE FELL OUT OF LOVE WITH NEXT.JS AND BACK IN LOVE WITH RUBY ON RAILS & INERTIA.JS

hardcover.app25 min read

Summary from the TLDR Web Dev newsletter

Hardcover, a book tracking app, migrated from Next.js to Ruby on Rails with Inertia.js due to issues like unclear caching, unpredictable costs, and slow development speeds in Next.js. The move to Rails and Inertia.js allowed for server-side rendering, direct database connections, and continued use of React, resulting in improved Google Pagespeed scores and faster load times. Hardcover uses Rails for backend logic and routing, while Inertia.js connects the Rails backend with the React frontend for dynamic content.