Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The argument about tolerable complexity definitely resonated with me.

However, I think the author may have failed to consider that the people using Gatsby/Next/etc. for their personal blog aren't necessarily doing so because they believe it is the best tool for the job. It's might be a good excuse to explore some new technology. Other times it could be the tool someone is most familiar with.

As for the solution, I believe existing tools like make could have solved the "rework" problem.

For reloading, I'm not sure I understand the leap from "I need to inject some JavaScript" to "I need to be able to parse a HTML document". If you're already replacing placeholders in the template with your content, why not another with some JavaScript?

There's also an interesting trend happening with development tooling like Snowpack and Vite. Instead of recompiling your assets when things change, why not let the HTTP server compile them on the fly? You don't need to worry about dependency graphs because the browser will request the assets it needs. Your development server can send events when a requested asset is touched and some injected JavaScript can handle the reloading.



I run my site on Gatsby. It's easy for me to write some markdown, push it to github, and have netlify put it online automatically.

At one point I moved it all to custom software that ran on AWS, and it was 10x harder to write anything so I gave up and moved back to Gatsby.

I don't even like Gatsby, I think it's total overkill. That said, It makes it easy for me to run the site, and that's actually what I care about.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: