@astrojs/preact
6.1.6 · 13 Nov 2026MIT267k / weekRepositoryHomepagenpmAtom feed
Your version
3.5.4 is the newest release of 3.x.
In short
1 new
Release note
Minor Changes
Allows rendering lazy components.
You can now use lazy components with Suspense:
import { lazy, Suspense } from 'preact/compat'; const HeavyComponent = lazy(() => import('./HeavyComponent')); const Component = () => { return ( <Suspense fallback={<p>Loading...</p>}> <HeavyComponent foo="bar" /> </Suspense> ); };
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.