Hacker News new | ask | show | jobs
by azangru 623 days ago
Plus one for eleventy. Love its minimalism and flexibility, although it means that there isn't a clear guidance on assets management. It's a shame that the web still doesn't have a standard way of authoring components, and different frameworks and static-site generators, including eleventy, have to invent their own.
1 comments

OK, so 11ty webc is pretty good and feels relatively low on abstraction. The only issue I've had with it was the developer UX (e.g. some components getting "stuck" during livereload, so I needed to manually restart 11ty to see the changes). Webc also supports bundles.

What 11ty lacks (assuming I don't add vite, keep things minimal), are components/composition, i.e. actually being able to compose templates without seeing them as templates but as DOM.

I recommend checking out some videos about .webc and progressive enhancement, there's a small paradigm shift from both React-like components map to a tree that maps to pixels and a more traditional old timey PHP-like string interpolation in templates. (I'm expressing this poorly as I'm in a rush, sorry!)