Better HN
topnewbestaskshowjobs
Log inSign up

fks

347 karma · joined Apr 1, 2013 (13y ago) · 78 submissions

Submissions

1.

Astro 4.0(astro.build ↗)

3 points · by fks · 2y ago · discuss

2.

Astro 3.0(astro.build ↗)

1 points · by fks · 3y ago · discuss

3.

Starlight(starlight.astro.build ↗)

7 points · by fks · 3y ago · discuss

comment 3y ago · link · parent

An incredible example of what's suddenly possible with the View Transition API: https://twitter.com/charca/status/1637832314364497920 (Built with Astro)

comment 3y ago · link · parent

https://youtrack.jetbrains.com/issue/WEB-52015/Astro-Languag...

> Hi everyone! Sorry for not posting the announcement here, too. I can confirm that we’re going to add Astro support in v2023.1. We will keep you posted on our progress once we start working on the issue and will ask you to give Astro support a try and share your feedback with us. Please keep monitoring the issue for updates.

Sounds like it's coming soon!

comment 3y ago · link · parent

Shameless plug: Astro supports Alpine.js and is a great dev environment for trying out Alpine for the first time. It runs in the browser as well, via Stackblitz!

- Astro: https://astro.build/

- Try Alpine in the browser: https://astro.new/framework-alpine?on=stackblitz

comment 4y ago · link · parent

Congrats to the Deno team on v1.0!

If you’re interested in something similar for the Node.JS ecosystem, check out Astro (https://astro.build).

Fresh’s Zero-JS island architecture approach was largely inspired by it.

comment 5y ago · link · parent

Yup, static site means you can pretty much deploy anywhere! Just configure Vercel to point to the final destination build directory when you set up your project.

comment 5y ago · link · parent

Run `npm create astro` in any directory to load one of 4 starter demos!

comment 5y ago · link · parent

Elder is great! We're definitely fans. both Elder and Astro deliver Partial Hydration and the same "0kb JS by default" story. We wanted something less Svelte-specific and more pluggable, along with some other neat features mentioned in the README that couldn't fit in the launch post.

comment 5y ago · link · parent

There are a few sites in the wild already built with Astro that you can check out:

- https://www.snowpack.dev/ - https://divriots.com/

comment 5y ago · link · parent

No benchmarks yet, but I'll look into adding some. In the meantime there are a few sites in the wild already built with Astro that you can check out:

- https://www.snowpack.dev/

- https://divriots.com/

comment 5y ago · link · parent

: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

comment 6y ago · link · parent

Yup, from the tl;dr on the site:

> TL;DR - Snowpack removes the need for bundlers (Webpack, Parcel, Rollup) in a traditional application build process by leveraging the ESM syntax you're already writing. Keep using your favorite web frameworks (React, Preact, Vue, Svelte) & build tools (Babel, TypeScript).

comment 6y ago · link · parent

This does! :D

comment 6y ago · link · parent

That's whats so cool about this: Unlike Create React App or other "starter apps" that try to hide complexity from you, Snowpack actually removes that complexity entirely. If you didn't want to use a single other tool, you could use Snowpack to build a fully modern web app by shipping your source code directly to the browser (cue the "View Source" nostalgia :)

Luke Jacksonn is someone who's done some interesting work in this space with zero-build-tooling sites: https://perf.link - https://github.com/lukejacksonn/perflink

https://www.pika.dev is built with Babel and TypeScript, so it's not technically "zero-tooling", but we still get almost instant iteration by skipping a "bundle" step during development.

comment 6y ago · link · parent

Frontend over-complexity is exactly the problem that this is trying to solve for! You can think of this as a simple post-install tool that removes a huge chunk of the complexity (bundling) from your stack, without limiting what you can build.

If this direction of simplified web development is something you're interested in, you'll enjoy this post I wrote back when we started this project (and it was called @pika/web): "A Future Without Webpack" - https://www.pika.dev/blog/pika-web-a-future-without-webpack/

Disclaimer: I created Snowpack & Pika (pika.dev).

comment 7y ago · link · parent

Thread / Discussion on Twitter from this morning: https://twitter.com/pikapkg/status/1196825435671158787

19.

Pika – The JavaScript package registry for the modern web(pika.dev ↗)

3 points · by fks · 7y ago · 1 comment

comment 7y ago · link · parent

Really sad to see this, I remember relying on cdnjs at a few old jobs over the years. Hope they get this sorted.

If anyone is looking for alternatives, I created Pika CDN as a modern alternative for cdnjs/jsdelivr/unpkg. It runs off of npm (so no approval bottlenecks) and is 100% modern ESM (so you can `import` every package directly in the browser without a bundler). https://www.pika.dev/cdn

123