overreactedby

RSC for Astro Developers

May 6, 2025

Pay what you like

Okay, so in Astro you have two things:

  • Astro Components: They have the .astro extension. They execute exclusively on the server or during the build. In other words, their code is never shipped to the client. So they can do things that client code cannot do--read from the filesystem, hit the internal services, even read from a database. But they can't do interactive things aside from whatever exists natively in the HTML or your own