Hyperapp 2.0 brings a host of new features and improvements, empowering you to build more efficient and feature-rich web apps:
Unclaimed project
Are you a maintainer of hyperapp? Claim this project to take control of your public changelog and roadmap.
Changelog
1kB-ish JavaScript framework for building hypertext applications
Hyperapp 2.0 brings a host of new features and improvements, empowering you to build more efficient and feature-rich web apps:
spellcheck, draggable, translate, etc., is credited to @frenzzy. This improvement is discussed in issue (#629).Hyperapp 1.2.0 introduces exciting new features, bug fixes, performance enhancements, and improved documentation. Notably, Lazy Components revolutionize component creation by effortlessly connecting them to the global state and actions.
Fix bug caused when removing empty text nodes from a list (#584).
name to nodeName and props to attributes. This brings Hyperapp's virtual nodes in line with Preact's, facilitating easier integration.key, improving their compatibility with a variety o...Hyperapp is a JavaScript library designed for building high-performance web applications in the browser. It offers an out-of-the-box combination of state management and a Virtual DOM engine, all without any external dependencies.
Getting started is easy:
import { app } from "hyperapp"
import { state, actions, view } from "./app"
const main = app(state, actions, view, document.body...
In this release, we've enhanced Hyperapp with several improvements. Immutable state management ensures efficient memoization and debugging capabilities, while short-circuiting Vnodes optimizes component rendering. Additionally, a refined action signature enhances API clarity, making Hyperapp even more accessible for everyone.
In this release of Hyperapp, we bring you substantial breaking changes, improvements, bug fixes, and, believe it or not, a reduced bundle size (1397B).
We've introduced the init(state, actions) function, which serves as a replacement for handling actions, subscribing to global events, or initializing your app....
Simplified state management with state slices, replaced events with direct DOM event handling, introduced HOAs for extensibility, and added built-in hydration for interactivity. Streamlined element removal in the onremove event and removed mixins for code clarity.
Hyperapp traditionally used a single state tree, which means that all your application-level state resides in...
element.nodeValue, which reduces unnecessary garbage collection in scenarios like DBMon. Thanks to @andyrj for this improvement.
set element.nodeValue = node
update function in thunks to accept a reducer function, enhancing its usefulness in asynchronous processes. This allows for state adjustments duri...