首页 > 移动平台 > 详细

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

时间:2018-02-07 17:57:51      阅读:208      评论:0      收藏:0      [点我收藏+]

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.

 

 

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

原文:https://www.cnblogs.com/Answer1215/p/8427447.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!