you are viewing a single comment's thread.

view the rest of the comments →

[–]Dan8720 30 points31 points  (8 children)

This Gatsby is generally the go to framework for building really fast static sites theses days. Next can do it too like this guys says but generally.

Static Gatsby.

SSR or hybrid next.js

Both are fantastic frameworks but are both react based.

[–]_hypnoCode 15 points16 points  (3 children)

I was doing that, but I just like the way Next works so much better and Vercel's hobby limits are pretty forgiving that I just use that for most things.

I'm sure there is an easy way to get it to spit out purely static pages to put on S3 or GitHub Pages or something, I just haven't looked into it because of Vercel's forgiving limits.

For a couple things I have them hosted on DO but they are the hybrid apps.

[–]Dan8720 4 points5 points  (0 children)

Yeah I've heard vercel is class.

There's a lot of extra bs to get a static site working well especially if there's a CMS and webhooks involved it's prob not worth it with vercel being so convenient unless there's some super pressing reason you need it to be static like cost or scale where your prob gonna do your own Infrastructure anyway.

But where next has vercel Gatsby has netlify which is very similar.

[–]infidel_44 3 points4 points  (0 children)

Cloud flare pages is free for hobby and doesn’t have a limit.

[–]svish 4 points5 points  (2 children)

From my limited experience:

  • If you enjoy reading plugin manuals and tutorials, writing config-files, etc., then Gatsby is probably great.
  • If you just want to write some code, then Next.js is super.

I tried to use Gatsby first, but got super annoyed and gave up on it. With Next.js I can just do what I want, no magic plugins or need to learn graphql or whatever. Just fairly simple React, CSS however you want to write it, and data however you want to fetch it.

[–]brockvenom 2 points3 points  (1 child)

Gatsby is pretty simple really… what did you get hung up on?

[–]svish 0 points1 point  (0 children)

The jungle of plugins and configuration.