Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Steve Lee
@SteveALee
so the RxJS 5 overview is goo - http://reactivex.io/rxjs/manual/overview.html
Marcus Nielsen
@marcusnielsen
@rsmalvinder I will give it a look. It was almost a year ago though.
Steve Lee
@SteveALee
Also @staltz did a great intro
Marcus Nielsen
@marcusnielsen
A free one?
Marcus Nielsen
@marcusnielsen

I missing the basic checklist of what I need to learn.
For me, it was:

  • .Subject()
  • .startWith()
  • .map()
  • .subscribe()
  • .scan() (With the redux-style state pattern.)
  • .combineLatest() (Part of above.)
  • .merge()

Then I needed #withLatestFrom() to combine an input-box with a chat message box.
(Edit: removed hashtags.)

Oh, sorry about the .md headers. I didn’t think about that.
Churchill Lee
@FeliciousX
how do we debug hot / cold observables?

what's the use of doing these?
https://github.com/cyclejs/examples/blob/master/many%2Fsrc%2FList.js#L35-L38

I tried not doing that and it will still work. are there pros and cons that is not directly obvious?

Code snippet

    sinks.DOM = sinks.DOM.replay(null, 1);
    sinks.DOM.connect();
    sinks.destroy$ = sinks.destroy$.publish();
    sinks.destroy$.connect();
Marcus Nielsen
@marcusnielsen

@FeliciousX looks like something I’m interested in as well.

I’m not using cyclejs (yet), but when it comes to debugging rxjs, I just subscribe to a stream and then fire off actions (intents) that give me some observable data.

Sample: https://github.com/marcusnielsen/rxjs-server/blob/master/web-application/app/components/user/index.test.js

And I should really do the .publish() .connect()-stuff too, so I get hot observables.
Churchill Lee
@FeliciousX
yeah, I know enough of Rx to do the easy stuff, once I need to deal with share, publish, replay etc, I get overwhelmed. I wish there's an easier way to learn
Marcus Nielsen
@marcusnielsen
Oh, how I can relate! I’ve built a whole server/client websocket solution around the MVI/cycle.js way of thinking, but without cycle.js. I haven’t even bothered yet with hot observab bles. That means that my server would keep lots of cold event streams just building up with data, if I understand it correctly.
Once I learn a bit more, I will try to blog about it. Right now, I just don’t know enough of what I don’t yet know to even blog about RxJS.
André Staltz
@staltz
CycleConf officially starting in a few minutes! There are about 60 people in the house, if you want to follow the news, follow hashtag #cycleconf in twitter
Marcus Nielsen
@marcusnielsen
Yay!
Brandon Smith
@BrandonSmith
Congrats. This is awesome.
Fred Daoud
@foxdonut
cyclejs will have its own dedicated stream library, xstream, is that correct?
Hadrien de Cuzey
@chadrien
André said he'd release it in the evening
Andrew Van Slaars
@avanslaars
it’ll be interesting to see how it compares to RxJS and Most
Denis Stoyanov
@xgrommx
Andrew Van Slaars
@avanslaars
@xgrommx Nice… thanks! Hopefully they add an entry for xstream once it is released
Denis Stoyanov
@xgrommx
@avanslaars what is xstream?
Marius Lundgård
@mariuslundgard
@xgrommx: It's a new stream library designed for Cycle, announced at CycleConf
Andrew Van Slaars
@avanslaars
It’s the new stream lib for Cycle apparently… just heard about it myself… see above my earlier message for context
Denis Stoyanov
@xgrommx
@mariuslundgard any info?
Marius Lundgård
@mariuslundgard
Not much yet, though it'll be released later tonight (can't wait)
André Staltz
@staltz
Scott Vachalek
@svachalek
@SteveALee @staltz I hadn't seen that reactive intro gist, it's fantastic. I read all those horrible introductions it mentions instead. :-|
Hadrien de Cuzey
@chadrien
André Staltz
@staltz
Vincent Orr
@Cmdv
:+1:
Mark Moissette
@kaosat-dev
:clap:
Vincent Orr
@Cmdv
tweeted but if anyone at the conf is keen to have a remote person help I'd be keen?
Scott Vachalek
@svachalek
shamefullySendNext lol
Steve Lee
@SteveALee
Folks, do follow #cycleconf on twitter for more info
Dmitrii 'Mamut' Dimandt
@dmitriid
xstream is love
esp. after once again struggling with the cold observables in HTTP :)
Steve Lee
@SteveALee
@svachalek yeah 'use only if you know what you're doing' or rather you don't ;)
Scott Vachalek
@svachalek
I'll think I'll stay away from that one, to preserve family honor. Off the top of my head I think operators I might miss are distinctUntilChanged() and debounce()
aha! they are in extras. perfect
Alexey Raspopov
@alexeyraspopov
Scott Vachalek
@svachalek
@alexeyraspopov there's some rationale in here: http://staltz.com/why-we-built-xstream.html
Alexey Raspopov
@alexeyraspopov

In many ways it is more powerful than xstream, providing access to cold Observables (which are more generic than hot ones), schedulers (which xstream has none so far), marble diagram testing, and dozens of battle-proven operators.

so that means cyclejs won't have these bells and whistles, right? I mean testing, marbles, all the stuff that is built around Rx

Scott Vachalek
@svachalek
farther down he says the next version of Cycle will support mixing Observable libraries
Marcus Nielsen
@marcusnielsen
I thought there would be a live stream on https://www.youtube.com/watch?v=vyzG4JKkeME, but it’s offline. Any other way to watch the presentations of cycleconf?
Vincent Orr
@Cmdv
yeah looks like bits of it were done on a phone @marcusnielsen check the #cycleconf on twitter to view what there is
Marcus Nielsen
@marcusnielsen
thanks @Cmdv
Vincent Orr
@Cmdv
just shows the end of Staltz then ideas for hacks
André Staltz
@staltz
Is @Cmdv in the house?