Live data from Hacker News

Astro: Ship Less JavaScript

astro.build

41–50 of 171 posts

Re: Astro: Ship Less JavaScript

#42
post #2

:wave: Hey everyone, one of the Astro creators here! Happy to talk Astro or answer any questions you have about what we're building. Our README has a bunch more info that we couldn't fit into the release post: https://github.com/snowpackjs/astro

Congrats on the release. For some reason when I heard of Astro, I thought it was a dynamic server-side rendering framework, not a static site builder. But I'm sure someone else will take on SSR with islands if they haven't already. Also: > Astro is and always will be free. It is an open source project released under the MIT license. > We care deeply about building a more sustainable future for open source software. A…

Elder.js supports Islands with SSR. It is also MIT. I released it as an SEO experiment as much as anything else.

I’m enjoying the dev process and am committed to facilitating (myself or paying another) it’s maintenance for several years. I can do that because my prior successes can subsidize the cost.

If I had to do it again, I’d probably pick another license. As a first time maintainer of a project that is hitting the pit of success it is amazing the number of for profit companies taking the framework and demanding changes to suit their narrow business cases.

I literally LOL at some of the emails. I very much think the state of OSS isn’t sustainable. It has been an interesting rodeo.

Re: Astro: Ship Less JavaScript

#44
post #40

New static site generator tool releases seem to have superseded new js framework releases. I like the direction things are moving.

Next biggest thing will be a framework for a static site to generate a React app, that generates a static site, inside a web worker.

Re: Astro: Ship Less JavaScript

#47
post #41

Is it possible to achieve the same thing just with Svelte + SvelteKit and some configs?

Yes, with SvelteKit you can use the static adapter to generate static html files for your routes. It's also possible to control this on a page by page basis.

Thanks.

What if only some components in my page require Javascript? Can the same "partial hydration" be achieved?

Re: Astro: Ship Less JavaScript

#48
post #44
post #40

New static site generator tool releases seem to have superseded new js framework releases. I like the direction things are moving.

Next biggest thing will be a framework for a static site to generate a React app, that generates a static site, inside a web worker.

Do you mean https://wasp-lang.dev/ perhaps?

Re: Astro: Ship Less JavaScript

#49
post #13

Earlier quoted context omitted.

Hey! Do you have any live demos or real(ish) apps made with Astro that we could check out?

There are a few sites in the wild already built with Astro that you can check out: - https://www.snowpack.dev/ - https://divriots.com/

Wow snowpack.dev was blazing fast for me! Need to try this on one of our internal applications

Re: Astro: Ship Less JavaScript

#50
post #40

New static site generator tool releases seem to have superseded new js framework releases. I like the direction things are moving.

It's good times :)

Next and Gatsby do too much for our use cases which are LOB applications. We've had to work around the idiosyncrasies of Next.js when we really don't need SSR nor its limited custom server support. Astro may be a closer fit for our needs.

It's nice to see more esbuild-based frameworks, sveltekit, astro ... The edit-save-refresh cycle is almost instanteous even on large projects. Something I can't say for Next.js.

Post reply on HN