DEV Community

Cover image for Astro: the new frontier of Frontend Frameworks πŸͺ

Astro: the new frontier of Frontend Frameworks πŸͺ

Domenico Tenace on January 10, 2024

Overview In the historical period in which we live, the frontend world is saturated with frameworks: Vue, React, Angular, just to name t...
Collapse
 
lexlohr profile image
Alex Lohr

Astro is a great choice when you have a lot of static content. The ability to use different framework's components is also immensely helpful for migrations. However, if neither of those are the case, it is merely overhead.

Collapse
 
dvalin99 profile image
Domenico Tenace

Absolutely true!
Astro was born to avoid unnecessary JavaScript use.

It's their philosophy!

Collapse
 
nmitic profile image
Nikola Mitic • Edited

Thank you for the introduction ☺️

Question πŸ€” Why is it a frontend framework when the emphasis is on shipping zero JS? (Which I think is great btw)

I'm getting very confused with the naming out there recently.

Collapse
 
ferdnyc profile image
Frank Dana • Edited

It's a frontend framework because it's used for building the frontend of a website -- the content that the user sees. A backend framework would be used to build the business logic that drives the frontend.

A web frontend can run on the client (by serving client-side JS that runs the frontend), or on the server (by running server-side code -- which doesn't have to be JS -- that produces and serves a primarily-HTML frontend).

The frontend/backend split is different from the client-side/server-side split. Anything to do with displayed content and the UI is frontend, wherever it runs.

Collapse
 
nmitic profile image
Nikola Mitic

Hm interesting take. For me this still feel like a web framework not frontend. More of a Full stack as where code runs is important. The goal of a a framework is important.

Will have to sit on your comment for a while as you make good points.

Collapse
 
dvalin99 profile image
Domenico Tenace

Hi!
it was a pleasure!

Regarding your question, I can tell you that although an Astro project in production does not use JavaScript unless necessary, during development this language is present and is part of many constructs!
For this reason it can be considered a frontend framework.

Collapse
 
petipois profile image
Petipois

I absolutely love Astro. I recently created a YouTube tutorial series called Canva to Astro, converting a canvas template to astro 4. Absolutely great framework.

Thanks for the article

Collapse
 
giuliano1993 profile image
Giuliano1993

I really like Astro, I haven't tried it yet but I'm planning to use it for building some side-projects page! Still, great article, gives a nice overview of Astro and now really feel even more like build something with it!

Collapse
 
dvalin99 profile image
Domenico Tenace

Thank you @giuliano1993 for feedback ✨
Astro is amazing tech for frontend developer.
Try it, it's simple!

Collapse
 
mithuahammad profile image
Mithu Ahammad

πŸ’—

Collapse
 
jdsantos profile image
Jorge Santos

Great for building jam powered websites. Nice work

jamstack.org/

Collapse
 
seanmclem profile image
Seanmclem

Developers can be female too.

Collapse
 
ferdnyc profile image
Frank Dana

Developers can be any gender! (There's more than just two.)

Collapse
 
yingfansong profile image
Winford Song

ohh,that is good!

Collapse
 
dvalin99 profile image
Domenico Tenace

Thank you!

Collapse
 
peacechen profile image
Peace Chen

Is Astro similar to Ruby on Rails and Django? Sounds like a throwback to server rendering of static HTML, with accommodations for JS.

Collapse
 
dvalin99 profile image
Domenico Tenace

I don't know if Astro is similar to Ruby on Rails or Django, because I don't know these technologies, but you might be right about the second part.