By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: Preact 11 Beta Introduces Hydration 2.0, Default Ref Forwarding, and Modernized Bundling
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > News > Preact 11 Beta Introduces Hydration 2.0, Default Ref Forwarding, and Modernized Bundling
News

Preact 11 Beta Introduces Hydration 2.0, Default Ref Forwarding, and Modernized Bundling

News Room
Last updated: 2025/09/23 at 5:29 AM
News Room Published 23 September 2025
Share
SHARE

Preact, the lightweight React compatible library, has released version 11 in beta. The new version introduces improvements to hydration, default ref handling, and bundle formats, while removing legacy features to modernize the core.

Preact 11 Beta brings changes across three key areas: hydration, performance, and ecosystem alignment. The new Hydration 2.0 model allows components that suspend during hydration to return zero or multiple DOM nodes, a departure from the previous restriction of one node per async boundary. This enables more complex hydration scenarios and better aligns Preact with modern rendering patterns. Another headline feature is default ref forwarding. Functional components can now receive ref props without requiring forwardRef, reducing boilerplate and improving compatibility with React libraries. For example:


function MyComponent({ ref }) { 
    return <h1 ref={ref}>Hello, world!</h1>; 
} 

<MyComponent ref={myRef} />;

In addition, hook dependencies now use Object.is for equality checks rather than loose equality, fixing edge cases such as NaN comparisons in useEffect and useState.

To streamline distribution and align with modern module conventions, all ESM bundles now ship as .mjs files, replacing the older .module.js format. CommonJS and UMD bundles remain available. Alongside this, several long-standing legacy features have been removed, including automatic CSS px suffixing and defaultProps being moved into preact/compat, plus the complete removal of component.base, SuspenseList, and replaceNode.

Preact 11 also raises its baseline requirements by dropping Internet Explorer 11 support and requiring TypeScript 5.1 or newer. This shift enables the project to leverage improved JSX typing and simplifies maintenance by removing outdated browser constraints.

For developers upgrading, the maintainers have published a migration guide detailing breaking changes and suggested workarounds. The team emphasizes that while this is a major version, the changes have been designed to minimize disruption.

A core maintainer shared on Bluesky that under the hood the release also includes memory fixes, better error boundaries, optimized rendering paths and more.

One user upgraded to the new beta and noticed a drop in bundle size: 

Updated Preact to 11 beta and Zustand to 5 and bundle dropped 4 Kb, feels good

The journey towards Preact 11 started in 2020 with this GitHub issue. Some community members started to question whether it was still in development with the maintainers assuring the community but they wouldn’t move to release version 11 until there were breaking changes.

Preact is an open-source library designed as a fast, lightweight alternative to React. With a small footprint and near-compatibility with the React ecosystem, it has gained adoption in performance-sensitive applications, PWAs, and embedded contexts. With version 11, Preact is modernizing its hydration and API ergonomics while remaining committed to its reputation as a compact yet compatible React alternative.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article Emerging Technologies Revolutionizing Chemical Measurement, Storage, and Transport
Next Article Apple’s iPhone 18 to feature TSMC’s 2nm chip next year · TechNode
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

Oppo seeks trademark registration for “ophone” · TechNode
Computing
Why One VC Thinks Quantum Is a Bigger Unlock Than AGI
Gadget
The best goalies to wear every jersey number in NHL history
Software
Windows now organizes my downloads for me and I never lose them
News

You Might also Like

News

Windows now organizes my downloads for me and I never lose them

6 Min Read
News

Secret Service dismantles network capable of shutting down cell service in New York

2 Min Read
News

Fresh batch of Amazon Prime freebies due this week bringing total haul to £119

5 Min Read
News

Reimagining Finance: Derek Kudsee on Coda’s AI-Powered Future

7 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?