Live data from Hacker News

An Honest Review of Gatsby

cra.mr

1–10 of 120 posts

Re: An Honest Review of Gatsby

#3
I wonder why it seems nobody wants to use Hugo. Smashing Magazine appears to be happy with it and they tooted about their experience with Hugo multiple times.

Instead, everyone chooses Gatsby, Next or another javascript based framework of this week.

Re: An Honest Review of Gatsby

#5
I migrated a couple of sites I look after from react-static (which is a nice, simple library but unfortunately had some fundamental issues that it sounded like we’re unlikely to be solved and gave the impression that it was struggling for maintainers e.g. https://github.com/react-static/react-static/issues/1203), one to Gatsby and the other to NextJS.

I agree largely with the findings described here - Gatsby felt quite slow and the GraphQL part feels like complexity overkill, for my use case I bypassed it using their createPage API but you lose out on eg the ability to reload a page’s data on the fly by doing so (from what I could work out - the documentation was a bit lacking in parts I found).

I was more impressed with NextJS, it feels generally more solid and easier to understand. It has a great preview feature where you can set a cookie and then the site will pull in data at request time rather than from the static site (perfect for CMS previews!) and build times seem alright - I haven’t had cause to look into speeding them up, which is a good sign.

Personally I’d go with NextJS in future based on my experience... that said, I’ve no idea if it would work well for their reasonably specialised use case!

Re: An Honest Review of Gatsby

#7
If a static site generator put my images in the wrong place and required a gigantic JSON file to be loaded by the client for no reason I would not think twice to get rid of it.

There are literally hundreds of static site generators: https://www.staticgen.com

Most of them should get markdown right too!

Re: An Honest Review of Gatsby

#8

I wonder why it seems nobody wants to use Hugo. Smashing Magazine appears to be happy with it and they tooted about their experience with Hugo multiple times. Instead, everyone chooses Gatsby, Next or another javascript based framework of this week.

After spending two weeks with Gatsby for my current project, I ditched it for Hugo and it was GREAT.

Not only Gatsby feels complicated for simple things, but doesn't offer the same level of flexibility as Hugo does. And it also has the most appreciated benefit of not having to battle with the js ecosystem. Hugo just works.

Re: An Honest Review of Gatsby

#9

I wonder why it seems nobody wants to use Hugo. Smashing Magazine appears to be happy with it and they tooted about their experience with Hugo multiple times. Instead, everyone chooses Gatsby, Next or another javascript based framework of this week.

Hugo is really, really good at what it does. I run a number of static blogs on it, including that of my startup [0] and my personal blog [1]. However, for many purposes, a completely static setup like the one that Hugo offers is surpassed by the reactive capabilities of Next.js/Gatsby/Nuxt, etc.

For larger, more complex sites, javascript frameworks make more sense, and offer far more functionality for building a web-app.

Two different purposes, IMO.

[0]: https://blog.assembl.net [1]: https://blog.slm.space

Re: An Honest Review of Gatsby

#10

I wonder why it seems nobody wants to use Hugo. Smashing Magazine appears to be happy with it and they tooted about their experience with Hugo multiple times. Instead, everyone chooses Gatsby, Next or another javascript based framework of this week.

For what it’s worth: I tried Hugo and hated the templating language.

I know React and Next let me solve my problems faster.

That’s it.

(Aside: Both Gatsby and Next have been around for a while and will be for the foreseeable future. So not a flavour of the week.)

Post reply on HN