Framing this Twitter exchange on my wall
(sorry for the Twitter link, but it’s worth it https://twitter.com/karrisaarinen/status/1769101933480911033)

31 replies
@zachleat i just saw the phrase “view source aesthetic” and suddenly my laptop was floating down the charles river, what is even happening over there
@zachleat sadly, without logging in, there is no exchange.
anyway, here’s Eleventy’s version in two commands:
echo '# Page header' > index.md
npx @11ty/eleventyand the output is `<h1>Page header</h1>`
@zachleat thanks for doing your part to keep honest to god web site building alive
@randomgeek I like building web sites and I would like to keep doing it more please 😅
@zachleat @randomgeek I didn't make the website, the website made me
@zachleat where does a template(+/static css/assets) get factored in in this command? I thought it was more complicated than that the last time I tried to use it.
@muan markdown files are preprocessed with liquid by default
@zachleat This post makes me feel feelings that I cannot express adequately.
@zachleat 😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂😂
-
@phae just saw this and thought of that
@zachleat This broke my fucking brain. All that to build something that looks like the first web page ever made. 🤦🏻♂️
@peruvianidol AI will save us from this complexity, mike
@zachleat I’m astonished by the lack of people answering how messed up it is to use React for one freaking simple & obviously static website.
@GoOz @zachleat Although React is messed up to use for anything these days.
It made some sense for a SPA where you can pay the relatively big size of the thing, but now it is all about RSC, and NextJS doesn't help with pushing alpha quality stuff for production use where basic things like CSS is not loading for dynamic imports when using App Router which they now recommend despite still not working for everything.
GoOz, having watched this, I don't understand why anyone would use React for anything. Want a blog or a "business card" website or something for docs for your project? Use a static site generator like Hugo. Want something dynamic? Build a server application with any stack you like and render your pages server-side. (this comment was proudly served to you by such a server application)
@zachleat I made the mistake of clicking through and reading the full thread. Dear lord. 😅