frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Astro-Like Islands but Client-Side: No-Build Client Islands

https://mozanunal.com/2025/05/client-islands
2•mozanunal•1d ago

Comments

mozanunal•1d ago
Hi HN, Ozan here.

I've been fascinated by the "islands of interactivity" architecture popularized by tools like Astro, but wanted to see if we could achieve a similar DX and performance benefit without a build step or a Node.js server for rendering.

This post, "No-Build Client Islands," explores exactly that: bringing the island concept fully to the client side. We use native ES modules, Preact + HTM for component rendering, and Page.js for client-side routing.

The core idea is that your "static site" (the shell and routes) is rendered by the client after the initial HTML load, and then specific "islands" of interactivity are mounted on demand, much like Astro or Fresh – but all within the browser. This means:

- Zero build tools: No npm, Vite, Webpack. Just ES modules.

- Truly backend-agnostic: Serve static files from anywhere your heart desires (Go, Rust, Python, Java, or just a CDN).

- Tiny runtime: The core libraries (Preact, HTM, Page.js) are very small.

- Client-Side Rendering & Routing: Unlike Astro which does build-time generation for static parts, here the client handles the initial page structure and routing, then hydrates interactive islands.

Think of it as taking the best parts of the islands model (component-level interactivity, selective hydration) and applying them to a purely client-rendered SPA, aiming for maximum simplicity, stability, and longevity.

You can read the full post here: https://mozanunal.com/2025/05/client-islands/

I'm keen to hear your thoughts on this client-side take on islands, how it compares to server-centric/build-time approaches for your use cases, and any potential pitfalls or advantages you see!

Tim Walz goes to SD and unoads on everyone

https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsubstack.com%2Fapp-link%2Fpost%3Fpublication_id%3D3373725%26post_id%3D164891523%26utm_source%3Dpost-email-title%26utm_campaign%3Demail-post-title%26isFreemail%3Dtrue%26r%3Dodi1%26token%3DeyJ1c2VyX2lkIjoxMTM3MjQxLCJwb3N0X2lkIjoxNjQ4OTE1MjMsImlhdCI6MTc0ODcxOTIxOCwiZXhwIjoxNzUxMzExMjE4LCJpc3MiOiJwdWItMzM3MzcyNSIsInN1YiI6InBvc3QtcmVhY3Rpb24ifQ.tINQ8peyS693IbdCI8zIwFynxfWB8UMTMxrTKSK6PcM&data=05%7C02%7C%7Cd07f9df1e0c84970dce508dda078324c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638843160280954003%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=SN4M04OehtmBGJ8NpLAxG4A%2Ftie7GOjw6ufiEiX7pzQ%3D&reserved=0
1•Jacquie11•1m ago•0 comments

Looks Like Jared Isaacman Is Out of the Running for NASA Admin

https://www.cnn.com/2025/05/31/politics/nasa-jared-isaacman-trump-pull
1•ChrisMarshallNY•2m ago•0 comments

Show HN: I built a simple Google Maps lead generator over the weekend

https://lead-generator-one.vercel.app/
1•sonny177•3m ago•0 comments

Jamie Raskin Launches Investigation Into Trump's "Corrupt Pardon Spree"

https://www.politicususa.com/p/jamie-raskin-launches-investigation
1•Jacquie11•3m ago•0 comments

Autocratic Capitalism: An Introduction

https://daily.jstor.org/autocratic-capitalism-an-introduction/
1•mdp2021•9m ago•0 comments

Research: Multiple-answer question format in exams improves student attainment

https://phys.org/news/2025-05-multiple-format-exams-student.html
2•PaulHoule•16m ago•0 comments

Show HN: Tracking Merged PRs by OpenAI's Codex and GitHub's Copilot

https://github.com/aavetis/ai-pr-watcher
2•zekone•16m ago•0 comments

Show HN: Patio – Rent tools, learn DIY, reduce waste

https://patio.so
9•GouacheApp•19m ago•1 comments

Green Tea Garbage Collector

https://github.com/golang/go/issues/73581
1•kristianp•20m ago•0 comments

Reduced OpenAI RAG costs by 70% by using a pre-check API call

1•Kong91•28m ago•2 comments

KSL Investigates: How to Avoid Inheriting a Timeshare You Don't Want

https://ksltv.com/ksl-investigates/ksl-investigates-how-to-avoid-inheriting-a-timeshare-you-dont-want/453896/
1•josephcsible•50m ago•2 comments

Energy Dept. Unveils Supercomputer That Merges with A.I

https://www.nytimes.com/2025/05/29/technology/energy-department-supercomputer-ai.html
1•bookofjoe•54m ago•1 comments

Show HN: The Daily Quandary

https://whythink.org/
1•rjhackin•56m ago•0 comments

Ask HN: Magic wand to fix one thing about cloud software development?

1•uptownhr•1h ago•0 comments

Where does debt go after death?

https://www.ramseysolutions.com/debt/what-happens-to-your-debt-when-you-die
3•downboots•1h ago•0 comments

The 55% Regret Club: How AI-First Companies Are Learning Lessons the Hard Way

https://www.groktop.us/the-55-regret-club-how-ai-first-companies-are-learning-groktopuss-lesson-the-hard-way/
4•tickbyte•1h ago•2 comments

Writing an LLM from scratch, part 15 – from context vectors to logits

https://www.gilesthomas.com/2025/05/llm-from-scratch-15-from-context-vectors-to-logits
2•gpjt•1h ago•0 comments

Python ASGI Framework Benchmarks

https://gist.github.com/patx/26ad4babd662105007a6e728f182e1db
2•harrisonerd•1h ago•0 comments

The NFS 4 Freezer Spacer In Science Fiction Sets

https://kolektiva.social/@beka_valentine/114600567753999701
25•sohkamyung•1h ago•4 comments

2025 Atlantic hurricane season forecast predicts above-normal number of storms

https://www.cbsnews.com/news/noaa-hurricane-season-forecast-2025/
2•gmays•1h ago•0 comments

ECT generates a postictal wave of spreading depolarization in mice and humans

1•bookofjoe•1h ago•0 comments

Show HN: Open-source P2P file transfer

https://github.com/nihaocami/berb
2•goodpanda•1h ago•0 comments

New Adaptive Optics Shows Details of Our Star's Atmosphere

https://nso.edu/press-release/new-adaptive-optics-shows-stunning-details-of-our-stars-atmosphere/
10•sohkamyung•1h ago•0 comments

Internet of Bugs Channel

https://www.youtube.com/channel/UCfJRkBBiPtKZyZn_3PxWaiQ
1•croemer•1h ago•0 comments

How often does my home's IP address change?

https://bruceediger.com/posts/ip-address-change/
3•bediger4000•1h ago•0 comments

The Most Difficult Program to Compute: Ackermann's Function [video] (2014)

https://www.youtube.com/watch?v=i7sm9dzFtEI
1•teleforce•1h ago•1 comments

How Often Do LLMs Snitch? Recreating Theo's SnitchBench with LLM

https://simonwillison.net/2025/May/31/snitchbench-with-llm/
2•Philpax•1h ago•0 comments

AI Is Your Rocket Ship to a Freer, More Creative Life

https://novice.media/p/ai-is-your-rocket-ship-to-a-freer
1•kirillzubovsky•1h ago•0 comments

The U.S. Deported This Chinese Scientist, a Decision That Changed World History

https://www.nytimes.com/2025/05/30/opinion/visas-china-rockets-scientist-technology.html
8•pseudolus•1h ago•2 comments

How to Build a Vibrant Technology Industry

https://docs.google.com/document/d/1LlNCY9_4MXhilnbu9MqKhSjHjMGqtDA8zZmSQynVjmY/edit
1•ericjang•1h ago•0 comments