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

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.
主站蜘蛛池模板: 东乡| 广饶县| 营口市| 宁波市| 阿克| 濮阳县| 龙南县| 疏勒县| 郁南县| 东乌珠穆沁旗| 黎城县| 谢通门县| 武城县| 东丽区| 句容市| 云南省| 安图县| 织金县| 绥滨县| 广宁县| 澜沧| 二连浩特市| 镇安县| 缙云县| 宜章县| 本溪市| 拜泉县| 鄂伦春自治旗| 漳浦县| 道真| 大姚县| 临汾市| 正宁县| 加查县| 图木舒克市| 乌鲁木齐市| 镇安县| 武汉市| 平潭县| 抚松县| 连山|