Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Reactive Extensions for Javascript code examples

Microsoft have published Reactive Extensions for Javascript. It should make asynchronous (and event based) web-ui programming easy.

There are currently a video and some tutorials. But how cool UI could I really make? Do you know any good demos or code examples using rx.js?

like image 834
Tuomas Hietanen Avatar asked Mar 23 '10 15:03

Tuomas Hietanen


People also ask

How do you make JavaScript reactive?

One way to make it reactive would be to have setters/getters to listen for events, and react to that. A quick note on setters/getters. Here, we use Object. defineProperty to set getters on an the object.

What is a reactive extension for JavaScript in angular?

RxJS (Reactive Extensions for JavaScript) is a library for reactive programming using observables that makes it easier to compose asynchronous or callback-based code.

Is JavaScript reactive?

Unfortunately, JavaScript is procedural, not reactive, so this doesn't work in real life. In order to make total reactive, we have to use JavaScript to make things behave differently.

What is reactive function JavaScript?

Reactive Programming in JavaScript is like a sequence of events that occur in time. It is an Asynchronous Programming concept around data streams. Reactive programming is a programming paradigm for writing code, mainly concerned with asynchronous data streams. It is a programming of event streams that happens in time.


1 Answers

I think this game demo is pretty cool http://juhajasatu.com/worzone/. The source is available on GitHub and the author has a few posts on JavaScript RX on his blog .

like image 143
ponzao Avatar answered Oct 06 '22 23:10

ponzao