Live data from Hacker News

Astro is a return to the fundamentals of the web

websmith.studio

51–60 of 268 posts

Re: Astro is a return to the fundamentals of the web

#51
post #26
post #22

>See that code fence at the top? That runs at build time, not in the browser. Your data fetching, your logic - it all happens before the user even loads the page. I can't with this goddamn LLM blog posts, it just drowns everything.

Some of us actually write like that... :/ Sucks when everything you write sounds like a bot because you're autistic.

> Some of us actually write like that

The fact that LLMs write like that is proof of that people write like this too, as LLMS produce statistical averages of the input writings.

Re: Astro is a return to the fundamentals of the web

#52
post #21

Earlier quoted context omitted.

I agree with that it’s not a new concept by itself, but the way it’s being done is much more elegant in my opinion. I originally started as a web developer during the time where PHP+jQuery was the state of the art for interactive webpages, shortly before React with SPAs became a thing. Looking back at it now, architecturally, the original approach was nicer, however DX used to be horrible at the time. Remember trying…

> Remember trying to debug with PHP on the frontend? I wouldn’t want to go back to that. I do remember that, all too well. Countless hours spent with templates in Symfony, or dealing with Zend Framework and all that jazz... But as far as I remember, the issue was debuggability and testing of the templates themselves, which was easily managed by moving functionality out of the templates (lots of people put lots of log…

Well, that's a way to manage server-side logic, but your progressively-enhanced client-side logic (i.e. JS) still wasn't necessarily easy to debug, let alone being able to write unit tests for them.

Re: Astro is a return to the fundamentals of the web

#57
post #22

>See that code fence at the top? That runs at build time, not in the browser. Your data fetching, your logic - it all happens before the user even loads the page. I can't with this goddamn LLM blog posts, it just drowns everything.

What does this have to do with LLMs? Are you just uncomfortable with dashes?

You're not just venting about me being uncomfortable with dashes — you are making a philosophical claim about what comfortability really means. And that? That is a true super-power.

Re: Astro is a return to the fundamentals of the web

#58
post #10

> Traditional frameworks hydrate entire pages with JavaScript. Even if you've got a simple blog post with one interactive widget, the whole page gets the JavaScript treatment. Astro flips this on its head. Your pages are static HTML by default, and only the bits that need interactivity become JavaScript "islands." Back in my days we called this "progressive enhancements" (or even just "web pages"), and was basically…

Agreed! Astro is fantastic, but the biggest barrier I had in learning it was getting my head around range of terms that developers who entered the workplace after 2010 have invented to describe "how the web works".

Re: Astro is a return to the fundamentals of the web

#59

Please stop recommending Next.js as the de facto React framework, we need some critical thinking back into front-end. Remix (React Router v7) or TanStack are much better alternatives.

Remix/React Router v7 was/is on a right path. I hope whatever they are planning with Remix with preact and using web standards will bring back the robust way of building websites.

I did not like how Remix to RR7 transition was made though, my project built using Remix was not an easy upgrade and I am rewriting a lot of it on RR7 now.

Post reply on HN