๐Ÿด solana.com is now running on @nextjs, deployed on @vercel.

We've migrated their site from Gatsby to Next.js in collab with the amazing @solana team.

The results:

๐Ÿ— 7x faster build times ๐ŸŸข Improved web vitals ๐Ÿค– Better DX

A short thread ๐Ÿงต


๐Ÿ— 7x faster build times.

Solana has more than 30 static pages, around 600 dynamic pages, and 15 language translations for all of those, which made Gatsby struggle with SSG.

Migrating to Next.js meant lowering those build times from 35 to 5 minutes ๐ŸŽ


๐ŸŸข Improved web vitals.

A screenshot speaks louder than words.

how it started // how it's going

Untitled

Untitled


๐Ÿค– Better DX.

Next.js provides developers with generic APIs that can be adapted to any use case, whereas Gatsby suggests a plugin for everything.

We replaced countless plugins and 5 Gatsby-specific config files with just a next.config.js.


The Solana team is overjoyed with the result, and our team is proud of having contributed to a more performant site on the internet ๐Ÿ’ฏ