DEV Community

loading...

Discussion on: Why we decided to move to Next.js

Collapse
rouzbeh84 profile image
rouzbeh

Did you happen to take gatsbyjs into account? I haven't been able to find much material comparing the 2 unfortunately but am very interested in both

Collapse
giogiordano93 profile image
Giovanni Giordano Author

Gatsby is a static site generator. We needed SSR because we have a lot of content edited every day, aggregating data from various sources. I'll have to analyze gatsby to find an useful use case. For now, next.js accomplishes our needs.

Collapse
whoisryosuke profile image
Ryosuke

Yeah I end up using Gatsby for projects like documentation, or blogs, where there's a significant amount of static content.

It's not feasible for something like a community (like Dev.to), since you'd be re-building every time someone makes a small post/comment, or reading off an API client-side (thus not benefiting from SSR).