Get the latest tech news

We fell out of love with Next.js and back in love with Ruby on Rails


A look at how and why we migrated from Next.js to Ruby on Rails.

I setup the initial architecture of Hardcover using Next.js with the pages router, hitting a GraphQL API (Hasura) for getting data, and caching as much as possible using Incremental Static Revalidation. Growing and unpredictable bills due to serverless architecture Slow development speeds, making even small changes take a long time. One additional problem wasn’t Next.js specific, but architecture related: I wanted to switch to getting server side data directly from a database connection rather than through GraphQL.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Love

Love

Photo of ruby

ruby

Photo of rails

rails

Related news:

News photo

Fast(er) regular expression engines in Ruby

News photo

Homeland Security boss says CISA has gone off the rails, vows to set it right

News photo

Write an Interpreter in Ruby