当前位置: 首页 > 工具软件 > HyperApp > 使用案例 >

[Hyperapp] Interact with the State Object through Hyperapp Action functions

惠泳
2023-12-01

Hyperapp is an ultra lightweight (1kb), minimal, functional, JavaScript library for building UIs. It comes with a VDOM engine and state management without any dependencies. In this lesson, we build a simple counter app. We include the Hyperapp library using the Unpkg link: https://unpkg.com/hyperapp and then attach it to our page on the window.main global.

To build a counter, we only need to add a bit of state and a couple actions to our application to get it to work.

 

 

转载于:https://www.cnblogs.com/Answer1215/p/8427447.html

 类似资料:

相关阅读

相关文章

相关问答