-
Notifications
You must be signed in to change notification settings - Fork 19
Onionify not working with RxJS #26
Comments
@ntilwalli RxJS have UPDATE: sorry I got what you mean |
Yes this makes sense @ntilwalli, and indeed the |
I don't use the dev tool but I get the impression the dev tool assumes an xstream type stream for |
The DevTool only supports xstream, this is because we rely on the fact that everything is hot in order to traverse the non-ambiguous chain of operators. Am I missing something? I don't see why we would need to change the DevTool. |
My only point was that |
I could do this code change myself, but do you want to have the honor of the PR since you mentioned it first (in case you have the branch waiting to be sent or something)? |
@staltz thx. Please go ahead, I don't have a branch set up yet, I'm using a hack right now. I can def submit PR for review if that works better for you. |
Fixed and published in v3.3.0 |
Currently the StateSource assumes
this.state$
has acompose
method, but that is not the case whenadapt
gets called with a non-xstream library.https://github.com/staltz/cycle-onionify/blob/master/src/index.ts#L111
The above line returns a stream in the app's chosen stream lib, so when
select
gets called on the StreamSource, this line fails sincethis.state$
is not an xstream stream.https://github.com/staltz/cycle-onionify/blob/master/src/index.ts#L121
I could create a PR with this change which I think will fix the problem...
The text was updated successfully, but these errors were encountered: