preactjs/preact
v11.2.0Curated framework repository (preactjs/preact) tracked via conditional GitHub .atom polling.
Preact is an ultra-lightweight virtual DOM framework that provides a modern component-driven development model using the same familiar API as React. It solves the performance and bandwidth problem of shipping heavy JavaScript bundles to client browsers by condensing the core UI runtime down to roughly 3kB. Teams use Preact to build interactive web apps with minimal overhead.
Adds scoped custom element registries and event bubbling fixes. Drop-in upgrade. Migration: None.
Key Release Highlights (v11.2.0)
- Added support for scoped custom element registries when mounting or rendering components into Shadow DOM roots via
#5342. - Safeguarded
on*event props by ignoring non-function values instead of binding invalid event handlers. - Retained event handlers on unmounted nodes temporarily to allow in-flight bubbling events to complete dispatch.
- Passed thrown
nullorundefinedprimitives directly to error boundaries rather than synthesizing aTypeError.
Verified safe drop-in upgrade for preact in package.json.
npm install preact@^11.2.0Ecosystem Compatibility Matrix & Verified Graph Warnings
preact-render-to-string remain stable.Zero-Noise Historical Release Timeline (2)
Format: [Core Change] + [Required Action] + [Migration Effort]Adds scoped custom element registries and event bubbling fixes. Drop-in upgrade. Migration: None.
Fix rendering, updating, and hydrating <template>. Drop-in upgrade. Migration: None.
Upgrade & Migration Q&A (preactjs/preact v11.2.0)
Direct Answers for Engineers & AI AgentsIs preactjs/preact v11.2.0 safe to upgrade in production?
preactjs/preact v11.2.0 is classified as COMPATIBLE (MINOR release). Adds scoped custom element registries and event bubbling fixes. Drop-in upgrade. Migration: None.
What breaking changes or compatibility risks exist in preactjs/preact v11.2.0?
No breaking API changes or peer dependency conflicts are recorded for preactjs/preact v11.2.0 in the RepoSense compatibility graph.
What is the bundle size impact of preact v11.2.0?
Measured bundle size telemetry is currently unavailable for preact v11.2.0; verify build output locally before deploying.
How do I upgrade preact to v11.2.0?
Upgrade preact to v11.2.0 by running "npm install preact@11.2.0" and applying the migration steps: npm install preact@^11.2.0