A 1kB JavaScript framework for building hypertext applications with a minimal, functional approach.
Hyperapp is a tiny JavaScript framework for building hypertext applications in the browser. It provides a virtual DOM, state management, and a declarative API in a single ~1kB package, solving the problem of framework bloat while enabling functional, feature-rich apps.
Frontend developers who value minimalism and want a lightweight, functional alternative to larger frameworks for building interactive browser applications.
Developers choose Hyperapp for its extreme minimalism (1kB size), simple mental model, and declarative functional approach that reduces complexity while maintaining performance and expressiveness.
1kB-ish JavaScript framework for building hypertext applications
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
At about 1kB, Hyperapp is smaller than a favicon, minimizing bundle size and load times, as explicitly stated in the README.
With only views, actions, effects, and subscriptions, the API reduces concepts to learn, making it easy to start building apps quickly, per the philosophy.
Enables writing UI as pure functions with a declarative approach using plain JavaScript, eliminating markup and simplifying state management, as shown in the examples.
Features a highly-optimized diff algorithm for efficient DOM updates, ensuring good performance despite the small size, referenced in the README with external benchmarks.
Key packages like HTTP and navigation are still planned, forcing developers to build custom solutions or rely on sparse community options, as admitted in the packages table.
Requires using `h()` and `text()` functions for UI, which can be more verbose and less intuitive than JSX, adding boilerplate for complex views.
Compared to mainstream frameworks, Hyperapp has a smaller user base, resulting in fewer resources, tutorials, and third-party integrations, which can slow development.