Skip to content

preact-iso

Small toolkit for routing, lazy loading and server rendering patterns in Preact apps.

Native PreactActive

Native Preact

Built for Preact and does not require a React compatibility layer.

Packagepreact-iso

Facts at a glance
Preact compatibility
Native Preact
Tested Preact versions
Not documented
TypeScript
Native TypeScript
SSR
SSR supported
Maintenance
Active
License
MIT
Last verified
Not yet verified
Terminal
npm install preact-iso
Preact example
import { LocationProvider, Router, Route } from "preact-iso"; export function App() {  return (    <LocationProvider>      <Router>        <Route path="/" component={() => <h1>Home</h1>} />      </Router>    </LocationProvider>  );}

Introduction

`preact-iso` bundles common primitives for file-light Preact app architecture, especially when SSR and lazy routes matter.

Preact configuration

Use its router and hydration helpers directly rather than mixing multiple small packages.

SSR notes

Designed for universal rendering patterns.

Islands notes

A strong starting point when you want server-rendered shells with progressive client behavior.

Alternatives