Comments (9)
That's a good question. I would say (not sure how hard that is), one with each operator, and then have a "playground" where you can do your own operator.
from reactivex.github.io.
That sounds doable.
When you say "do your own operator", what exactly do you refer to? Combining operators (e.g., filter + map + scan), or 'lifting' your own custom operator? I imagine the second option requires a code editor where you can input JS code to define the operator.
from reactivex.github.io.
Version 0.2.0 of RxMarbles is ready: http://staltz.github.io/rxmarbles
This is a beta version, so soon it'll reach a stable enough state. Let me know, @benjchristensen or Erik whether the core feature of interacting with the diagrams should improve somehow.
There are some things on the roadmap, like (1) rendering metastreams (observables of observables) and the corresponding examples such as window, groupBy, etc; (2) rendering the output of a buffer operation; (3) allow adding or removing items from an input stream.
I'm trying to keep it as a sandbox for each operator, rather than a full-blown Observable WYSIWYG editor. For instance, one thing that people might want to experiment with is chaining operators. For some examples it's simple, for instance for a map().filter().scan(), however it gets very complicated if we want to allow arbitrary combinations, since there might be a tree of Observables involved, for instance source.map().filter().sample(sampleObservable). You can't render that setting as a top-to-bottom diagram, it's tree shaped.
Another thing is that we could allow the user to edit the code for the operator, in the operator box in the diagram. I'm imagining it could work for some cases, but I'm not yet sure how to solve the potential problems with regard to all the operator coding possibilities.
from reactivex.github.io.
I'm this > <
close to making a web component <x-rxmarbles key="debounce">
for RxMarbles, enabling a very easy way to embed it in this website's docs.
More news very soon.
from reactivex.github.io.
[Like]
On Sat, Feb 7, 2015 at 9:10 AM, André Staltz [email protected]
wrote:
I'm this > < close to making a web component
for RxMarbles, enabling a very easy way to embed it in this website's docs.More news very soon.
—
Reply to this email directly or view it on GitHub
#13 (comment)
.
David M. Gross
PLP Consulting
from reactivex.github.io.
Sounds great!
from reactivex.github.io.
Done in PR #87
Just like RxMarbles.com, it doesn't have all the operators since some are more complicated (observable of observables, or contains an error, etc). But works like a charm as a Web Component.
Related staltz/rxmarbles#1
from reactivex.github.io.
Very nice.
from reactivex.github.io.
It's merged into develop, so I think I'll close this one. We can do continuous improvements through other issues. Such as #88
from reactivex.github.io.
Related Issues (20)
- New Tutorial HOT 1
- Close/Clean up the reactivex.github.io wiki HOT 4
- replay() for Maybe? HOT 1
- switchMap documentation direct to flatMap HOT 3
- Adding https support HOT 13
- Request to use ReactiveX logo
- Rx is not defined in browser developer tools console
- Rx is D
- Please reactivex.io site secured (https). HOT 6
- I am curious about an optimization problem
- Is this repo still maintained HOT 6
- Dockerfile is currently broken HOT 6
- Add doc for rxjs "retryWhen" operator
- https://rxjs.dev/ - Is this correct place for bug reports? HOT 1
- Move Aioreactive to ReactiveX
- Adding freak4pc to ReactiveX HOT 3
- Website should fix https certificate and redirect to https by default HOT 1
- Add HTTPS to reactivex.io HOT 2
- Add Julia's Rocket.jl to reactivex.io
- General suggestion for improving docs with animated examples
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reactivex.github.io.