0.10.0
This release brings numerous changes and enhancements to Hyperapp. A big shoutout to everyone who contributed to making this release possible. See you next time! 👋
Launched Hyperapp's official landing page. Kudos to @lukejacksonn for the development. [Source].- Adopted the Contributor Covenant Code of Conduct.
- Introduced DOM hydration support. Thanks to @andyrj and @ngryman for this feature aimed at preserving server-side rendered DOM nodes.
- Implemented batch patches and render pipeline optimization using requestAnimationFrame (rAF).
- New
init
event introduced for pre-first render actions. - The
loaded
event now triggers once after the first render.
- New
- Changed DOMContentLoaded handling:
- Breaking change for scripts included in
<head>
. UseDOMContentLoaded
listener ordefer
attribute in the script tag. - No changes needed for scripts at the bottom of
<body>
.
- Breaking change for scripts included in
- New lifecycle event
oninsert
introduced, firing post-oncreate
when elements are in the DOM. - Added
bundlesize
tracking for bundle size changes. - Mixins can now include their own mixins, thanks to @jamen.
- Enabled triggering events from outside
app()
calls, courtesy of @zaceno. - Added a new TweetBox example.
- The router is now separate from core. Follow @hyperapp/router for updates and ongoing improvements.