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

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.
主站蜘蛛池模板: 英超| 新干县| 佛山市| 天峻县| 盐亭县| 化德县| 乳源| 百色市| 繁峙县| 陈巴尔虎旗| 东海县| 阿拉尔市| 丁青县| 井冈山市| 阿拉善左旗| 保靖县| 孟村| 安图县| 吉隆县| 赞皇县| 威海市| 北京市| 瓦房店市| 定州市| 抚顺县| 泌阳县| 澄迈县| 策勒县| 榆社县| 枣强县| 扎鲁特旗| 门源| 大同县| 读书| 镇远县| 日喀则市| 聂拉木县| 平和县| 昭觉县| 新干县| 冕宁县|