FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Fresh 2 Has a Free API That Brings Zero-JS Pages to Deno With Island Architecture
How-ToWeb Development

Fresh 2 Has a Free API That Brings Zero-JS Pages to Deno With Island Architecture

via Dev.to WebdevAlex Spinov2h ago

Fresh is Deno's web framework. Zero JavaScript shipped to the client by default. Interactive parts are "islands" that hydrate independently. Fresh 2 adds Preact Signals, better plugins, and faster builds. Quick Start deno run -A https://fresh.deno.dev my-app cd my-app && deno task start Zero JS by Default Every Fresh page is server-rendered HTML. No JavaScript bundle. This page component ships 0 bytes of JS: // routes/index.tsx export default function Home () { return ( < div > < h1 > Hello Fresh < /h1 > < p > This page has zero client - side JavaScript . < /p > < /div > ) } Islands (Interactive Components) Only components in /islands/ get hydrated on the client: // islands/Counter.tsx import { useSignal } from " @preact/signals " export default function Counter () { const count = useSignal ( 0 ) return ( < div > < p > Count : { count } < /p > < button onClick = {() => count . value ++ } >+ 1 < /button > < /div > ) } // routes/index.tsx import Counter from " ../islands/Counter.tsx " ex

Continue reading on Dev.to Webdev

Opens in a new tab

Read Full Article
0 views

Related Articles

How-To

The Difference between `let`, `var` and `const`

Medium Programming • 1h ago

How-To

Circulation Metrics Framework for Living Systems

Medium Programming • 3h ago

Red Rooms makes online poker as thrilling as its serial killer
How-To

Red Rooms makes online poker as thrilling as its serial killer

The Verge • 6h ago

Don’t Know What Project to Build? Here Are Developer Projects That Actually Make You Better
How-To

Don’t Know What Project to Build? Here Are Developer Projects That Actually Make You Better

Medium Programming • 7h ago

Why Most Developers
Stay Broke
How-To

Why Most Developers Stay Broke

Medium Programming • 9h ago

Discover More Articles