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

The great irony of this post is that the author dreams of a world where they can use a library without it depending on hundreds of other modules, yet their website is built on Gatsby, an NPM package with one of the most insane dependency graphs I've seen. Uploading the author's website's package.json[1] into npmgraph[2] lists a total of 1561 dependencies. All that for what amounts to a simple blog site.

[1] https://github.com/poeti8/pouria.dev/blob/master/package.jso...

[2] https://npmgraph.js.org/



That's why I wrote the blog post.


But do you think there is a solution? Why do we have to bear such a painful ecosystem?May we are at an evolutionary stage where too much variety is proliferating, and over time things will converge into a few proven ways of doing things.


Thanks for writing it.

Whenever I see WebGL posts like yours & chiechanowski I think like these folks must really love JavaScript to create such masterpiece & with my apprehension towards the JS ecosystem I couldn't indulge myself to put such effort.

Your post on JS ecosystem resonates with me & perhaps there's a narrow gap for someone without liking the JS ecosystem could do something extraordinary with JavaScript.


Why not use a different tool then? Hugo or Zola are mature and provide static binaries. If you want to stay in the Node world, I can recommend tinyjam by mourner (or anything by Volodymyr, really).


The point of the article is to complain about the state of the JS ecosystem as a whole. Of course there are workarounds and alternatives but it doesn't detract from the main point.


I agree, it doesn't detract from the main point, and I understand the purpose of the article. I only find it surprising that the website is built with Gatsby given the author's stance.


Surely the stance can come after and because of building the website?

There's a lot of projects that've taught me exactly what tool I wouldn't use if I were redoing them from scratch, but there's no time to start again or no wish to go through a lot of extra pain and work (until needed) to end up with the same end result.


Yeah, I believe that is what happened here. See the author's comment: https://news.ycombinator.com/item?id=35422496




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

Search: