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

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.
主站蜘蛛池模板: 佳木斯市| 阳新县| 巴林左旗| 广宗县| 应城市| 武功县| 荃湾区| 治多县| 德庆县| 桃江县| 云龙县| 贞丰县| 中山市| 阳新县| 扶余县| 会昌县| 南靖县| 涞水县| 吴堡县| 永康市| 赣榆县| 临邑县| 商都县| 宁河县| 肥城市| 拜泉县| 长治县| 桃园县| 洞头县| 西盟| 宝应县| 奉贤区| 溆浦县| 凌源市| 南澳县| 栖霞市| 长岭县| 叶城县| 营口市| 噶尔县| 武宁县|