News for hackers. Stuff that matters.
Re:No One Ever Got Fired for Choosing React by JackMorgan on Saturday December 05, 2020 @06:38AM (#25313774)
Here's a vote for Hugo, the static site generator written in Go. It's blazing fast.

I use it for my blog and love it.

Re:No One Ever Got Fired for Choosing React by bogwog on Saturday December 05, 2020 @09:17AM (#25314698)
> It's blazing fast.

This seems like an odd value proposition for a static site generator.

Even a really shitty, unoptimized single threaded non-incremental build system shouldn’t struggle too hard to compile a static site. And even if it does, if it has a good amount of features, it shouldn’t be a problem for most use-cases.

Re:No One Ever Got Fired for Choosing React by plorkyeran on Saturday December 05, 2020 @11:44AM (#25315847)
Using jekyll I've gotten 30+ minute build times for sites. SSGs aren't only useful for sites with a single-digit number of pages.
Re:No One Ever Got Fired for Choosing React by JackMorgan on Sunday December 06, 2020 @06:56AM (#25322954)
I switched from Jekyll, it's amazing to me how slow it was to build a simple hundred pages of HTML. What Hugo does in Uber a second took Jekyll several minutes.
Re:No One Ever Got Fired for Choosing React by oknoorap on Saturday December 05, 2020 @07:44AM (#25314129)
Have you tried NextJS or Gatsby?
Re:No One Ever Got Fired for Choosing React by anaganisk on Saturday December 05, 2020 @08:42AM (#25314495)
Gatsby and its magic comes no where near Hugo, hugo is basically just select the theme and write markdown Gatsby and its quirks, are just too heavy. I would rather suggest Next.js.
Re:No One Ever Got Fired for Choosing React by oknoorap on Sunday December 06, 2020 @05:00AM (#25322435)
Yep, Next.js export build to static HTML is pretty impressive.