4 ms·
I am not a web developer and therefore missing the point here. To me these two statements appear in conflict with each other > No frameworks, no bundlers,
by smusamashah 2y ago
I am not a web developer and therefore missing the point here. To me these two statements appear in conflict with each other
> No frameworks, no bundlers, no required dependencies. Just web standards, patterns, a unix-style toolset, and some elbow grease.
vs
> Install Node.js >= 20.
this is then followed by a "Toolset" section listing a bunch of other tools. I don't understand what is going on here.
- austin-cheney 2y agoThey are not in conflict. Node is a runtime with a large standard library. The Java equivalent is the JVM plus some file system and network handling libraries. A framework is a rich set of various abstractions designed to integrate in support of a design methodology.
- Etheryte 2y agoLooking at the package definition, there are no runtime dependencies, the only dependencies are development tools such as linting, testing, etc. I can definitely see how this can be misleading though.
- ericyd 2y agoIt struck me as weird too. If the author isn't trying to avoid build tools altogether then I'm not clear why they wouldn't just install Vite and simplify their life.
- tejohnso 2y agoUsing development tools is one thing. Packing your basic web site with 50,000+ SLOC worth of run time dependencies is quite a different story. When you use a framework like react, or vue, or svelte, you're bringing in a massive dependency tree, and you're also changing the semantics of the application code from web standard code to framework specific code. Instead of being an expert on the standards, you have to become an expert in the framework. There are compromises being made either way. I think that one important thing missing from this project is a templating engine of some kind. Questionable addition though, since you're then going to stop writing HTML and start writing whatever template language. And it's a greased path toward going with a framework.
- samstave 2y agoWhat are your thoughts on "VanillaJSX" which was on ShowHN recently, and is a part of: https://code.immaculatalibrary.com/ https://code.immaculatalibrary.com/ https://news.ycombinator.com/item?id=41269321 https://news.ycombinator.com/item?id=41269321
- davidmurdoch 2y agoIs svelte still bringing in a lot of duplicate code these days?
- skeeter2020 2y agothe rewrite is moving in the wrong direction IMO, maybe for all the right reasons but in short, yes.
- skeeter2020 2y agothese are all dev-time dependencies. The part that's contradictory is "A simpler, more sustainable way of web development" vs. "Vanilla Prime is not meant to be easy" I think it's a little naive to believe the JS build scene is somehow divorced from the JS runtime scene, when there's just as much complexity, churn, deep dependency chains and rapid obsolescence.
- yayitswei 2y agoSimple != Easy https://www.infoq.com/presentations/Simple-Made-Easy/ https://www.infoq.com/presentations/Simple-Made-Easy/ I'm not sure if the author succeeded or not, but at least the goal is clear.
- morrvs 2y agoNot sure who said it but I was aiming for the "Simple Ain't Easy" trope here ;) I agree that the JS build scene can be churning a lot as well (e.g. ESLint's recent config changes), that's why I tried to make everything as orthogonal and disposable as possible.
- skydhash 2y agoPrettier, eslint, and the typescript compiler are great. The issue is the npm package gallore that exists currently. No one wants to write code anymore, instead using mini libraries for a function or two, resulting in ~8000 packages for a react application I had to work on.