bacon.js Questions
5
Solved
I am learning reactive programming and functional reactive programming in JavaScript. I am very confused.
Wikipedia says that there are various ways to write reactive code such as imperative, OORP...
Exogenous asked 28/12, 2015 at 14:11
2
I'm building an audio playback control that lets users scrub back and forth through an audio file. It needs to work with touch and mouse events. How should I go about managing the events for this w...
Isleen asked 21/6, 2015 at 21:7
2
Solved
I have a form, which has many image urls - the back-end persists url strings and the images are uploaded directly to S3. I'd like to use Bacon.js streams to handle disabling/enabling the form's sub...
Distant asked 13/7, 2015 at 21:28
1
Solved
After learning about Observables, I find them quite similar to Node.js streams. Both have a mechanism of notifying the consumer whenever new data arrives, an error occurs or there is no more data (...
Withhold asked 24/5, 2015 at 12:18
2
Solved
I've read about FRP and was very excited.
It looks great, so you can write more high-level code, and everything is more composable, and etc.
Then I've tried to rewrite my own little game with a fe...
Amphitheater asked 10/4, 2015 at 14:25
2
Solved
Suppose I have two possibly infinite streams:
s1 = a..b..c..d..e...
s2 = 1.2.3.4.5.6.7...
I want to merge the streams and then map merged stream with slowish asynchronous operation (e.g. in Baco...
Scholastic asked 30/12, 2014 at 14:35
1
Solved
In JavaScript the observer pattern is used quite often. There is one tricky thing with it and that's the references the subject keeps of the observers. They require cleanup. For regular application...
Redeem asked 3/11, 2014 at 19:37
3
Solved
I'm going through the bacon.js slide at:
http://raimohanska.github.io/bacon.js-slides/1.html
In the 1st line of the 2nd block, it says:
function always(value) { return function(_) { return value ...
Busoni asked 28/5, 2014 at 5:6
2
Solved
I've been hearing a lot about functional reactive programming, and decided to check out what the big deal is. Going through the bacon.js documentation, it seems that the main difference is that ins...
Zadoc asked 24/5, 2014 at 18:12
1
© 2022 - 2024 — McMap. All rights reserved.