官术网_书友最值得收藏!

bacon.js

In this first chapter of this book we will be using bacon.js , which is a library for functional reactive programming in JavaScript. This library works in both server and client. We will use it to introduce you to some concepts of functional reactive programming as it is easier to get started. We will be using version 0.7.88.

To install it on your server, just run the following command inside a node project:

    npm i baconjs@0.7.88 -save

To add it to an HTML page, just paste the following code snippet inside it:

<script src="https://cdnjs.cloudflare.com/ajax/libs/bacon.js/0.7.88/Bacon.min.js"> 
</script>
Don't worry with the version not being above 1.x; bacon.js is stable.
主站蜘蛛池模板: 雷山县| 遂昌县| 登封市| 连江县| 兴化市| 木里| 通州市| 商南县| 榆树市| 民权县| 桑植县| 调兵山市| 乌兰察布市| 新田县| 磐石市| 惠安县| 衡阳市| 左云县| 扶风县| 东辽县| 芜湖县| 鄂温| 镇远县| 乌拉特后旗| 临朐县| 囊谦县| 郴州市| 五寨县| 高安市| 新巴尔虎左旗| 舟曲县| 筠连县| 衡南县| 周口市| 镇坪县| 平原县| 南投市| 涪陵区| 和林格尔县| 屏南县| 阳曲县|