{"full_name":"hyperapp/hyperapp","owner":"hyperapp","name":"hyperapp","shard":"1","url":"https://github.com/hyperapp/hyperapp","description":"1kB-ish JavaScript framework for building hypertext applications","homepage":"","topics":["framework","javascript","web","vdom"],"tag_pages":["framework","javascript","vdom","web"],"language":"JavaScript","license":"MIT","avatar":"https://avatars.githubusercontent.com/u/53092080?v=4","created_at":"2017-01-20T05:20:21Z","pushed_at":"2025-03-20T01:04:38Z","metrics":{"stars":19187,"forks":777,"watchers":304,"issues":589,"prs":503,"releases":26,"issues_open":11,"issues_closed":578,"prs_open":4,"prs_closed":211,"prs_merged":288,"discussions":18},"growth":{"day":{"stars":-3,"forks":0,"base_day":"2026-11-15"}},"history":{"dates":["2026-11-10","2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[19190,19191,19191,19191,19190,19190,19187],"forks":[777,777,777,777,777,777,777],"watchers":[null,304,304,304,304,304,304],"issues_open":[null,11,11,11,11,11,11],"prs_open":[null,4,4,4,4,4,4]},"boards":{},"same_owner":[],"issues":[{"number":757,"title":"Provide a way to keep existing markup as is (Custom Elements, Hydration)","comments":22,"created_at":"2018-09-13T15:28:35Z"},{"number":1048,"title":"Usage with TypeScript","comments":15,"created_at":"2021-04-07T08:08:41Z"},{"number":1123,"title":"Future of hyperapp","comments":12,"created_at":"2025-07-15T04:27:30Z"},{"number":1087,"title":"@hyperapp/html: use a Proxy?","comments":9,"created_at":"2022-02-23T12:12:28Z"},{"number":1077,"title":"The dispatch initializer ends in an endless loop on init when dispatching any action  ","comments":7,"created_at":"2021-12-17T18:30:58Z"},{"number":1122,"title":"Ownership of class when patching","comments":5,"created_at":"2025-04-23T21:27:09Z"},{"number":1115,"title":"Multiple apps on single page ","comments":5,"created_at":"2024-04-28T20:48:24Z"},{"number":1111,"title":"Cannot read properties of null (reading 'length')","comments":5,"created_at":"2023-03-05T19:06:08Z"}],"discussions":[{"number":1119,"title":"Merlin, a Hyperapp alternative","comments":4,"category":"Show and tell","created_at":"2024-09-15T21:15:47Z"},{"number":1118,"title":"Hyperapp + .NET","comments":1,"category":"Show and tell","created_at":"2024-09-04T15:17:29Z"},{"number":1102,"title":"Micro-frontends approach to solve once and for all the \"problem\" of router/stateful components","comments":1,"category":"Show and tell","created_at":"2022-12-20T22:08:48Z"},{"number":1070,"title":"Working hyperapp Dev tool for version 2","comments":0,"category":"Q&A","created_at":"2021-07-23T13:52:09Z"},{"number":1064,"title":"Reworked a project for Hyperapp V2","comments":0,"category":"Show and tell","created_at":"2021-05-13T17:25:45Z"},{"number":1061,"title":"Does updating state always update DOM?","comments":1,"category":"Q&A","created_at":"2021-05-03T20:24:59Z"},{"number":1058,"title":"Actions that return actions OR actions-with-payloads","comments":0,"category":"General","created_at":"2021-04-25T21:19:55Z"},{"number":1052,"title":"Potential Types Updates","comments":3,"category":"Ideas","created_at":"2021-04-18T02:38:50Z"}],"latest_release":{"name":"2.0.0","tag":"2.0.0","published_at":"2019-07-26T19:55:54Z","body":"Hyperapp 2.0 brings a host of new features and improvements, empowering you to build more efficient and feature-rich web apps:\r\n\r\n- We're excited to introduce our new [Tutorial](docs/tutorial.md), enhanced [Examples](https://codepen.io/collection/nLLvrz?grid_type=grid), and comprehensive [Reference](docs/reference.md).\r\n- **New Features:** Hyperapp 2.0 introduces several new features, including Effects, Subscriptions, and an enhanced Dispatch mechanism.\r\n- Explore the [flowchart](https://github.com/jorgebucaran/hyperapp/blob/main/docs/architecture/flowchart.md) to gain a clearer insight into Hyperapp's workflow. 🔍\r\n\r\n### Features\r\n\r\n- **[h()](https://github.com/jorgebucaran/hyperapp/blob/main/docs/api/h.md) and [text()](https://github.com/jorgebucaran/hyperapp/blob/main/docs/api/text.md):** The `h()` function creates virtual DOM nodes (VNodes) for defining views, while `text()` generates text content nodes for insertion.\r\n- **[Memoization](https://github.com/jorgebucaran/hyperapp/blob/main/docs/api/memo.md):** Hyperapp 2.0 offers a memoization feature through the `memo()` function to optimize rendering performance.\r\n- **[App Initialization](https://github.com/jorgebucaran/hyperapp/blob/main/docs/api/memo.md):** You can initialize your app by setting the initial state, running a list of effects, or directly invoking an action.\r\n- **Mounting:** Hyperapp 2.0 allows you to specify the DOM element where the virtual DOM will be mounted.\r\n- **[Effects](https://github.com/jorgebucaran/hyperapp/blob/main/docs/architecture/effects.md):** Effects in Hyperapp 2.0 provide a structured way to manage impure code, such as making API calls, handling animations, and more. Effects enhance the predictability and maintainability of your applications.\r\n- **[Subscriptions](https://github.com/jorgebucaran/hyperapp/blob/main/docs/architecture/subscriptions.md):** Subscriptions simplify handling external events and resource management, ensuring safe, pure, and immutable interactions with the outside world.\r\n  - **[Custom Subscriptions](https://github.com/jorgebucaran/hyperapp/blob/main/docs/architecture/subscriptions.md#custom-subscriptions):** Create custom subscriptions when official packages do not meet your app's requirements.\r\n- **[Dispatch](https://github.com/jorgebucaran/hyperapp/blob/main/docs/architecture/dispatch.md#dispatch):** The dispatch function controls the core dispatching process, including executing actions, applying state transitions, and running effects.\r\n  - **[Custom Dispatch](https://github.com/jorgebucaran/hyperapp/blob/main/docs/architecture/dispatch.md#dispatch-initializer):** You can create custom dispatch initializers to customize and augment the dispatching process for debugging and telemetry.\r\n- **[Custom JSX Function](https://github.com/jorgebucaran/hyperapp/blob/main/docs/api/h.md#jsx-support):** Although Hyperapp 2.0 does not natively support JSX, you can use a custom JSX function to enable JSX syntax.\r\n\r\n### Acknowledgements\r\n\r\nAn immense thank you to @zaceno, @okwolf, @icylace, @sergey-shpak, @SkaterDad, and @lukejacksonn. Your contributions have been invaluable. :heart:\r\n","is_prerelease":false},"readme":true,"readme_zh":false,"news":[],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}