-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Finish porting rest of Rx-DOM #1223
Comments
@trxcllnt I'd be willing take |
I'm unsure how much value I think we should do something for |
@Blesh it adds quite a bit in terms of being less terse. It's kind of like you could specify |
I am very sorry for the following question:
What is the future of rx-DOM deployment? |
@PavelPZ we're going to break it out into it's own package. The work is underway, but there's a lot to that. For now, you can find everything under |
@Blesh, is there any news please? I thing that including all already ported DOM parts (ajax,websocket, animation frame) to your build process will be huge benefit for developers. |
@PavelPZ we haven't had the time to get to it. Pulling apart a build process into different parts is a bit time consuming. |
come on ! even ready isn't there why things are slow ? |
@IDSFN come on ! requests pull welcome are. <3 <3 <3 |
@Blesh we don't need to make a request because everyone need rxjs DOM to be fully compatible with rxjs5 :D |
is this function enough to accomplish what
|
I've just ran into the issue of I can try and help get this in if I know the current direction (going into fromEvent direction, staying in Rx.DOM), though, not too familiar with the codebase, but willing to dig :) |
I'm new to RxJS and would like to call an external API, if I understand correctly, I would use RxJS DOM JSONP for that. But it seems that is not available in RxJS 5 yet? Having a very hard time to find examples and tutorials or even the right community to ask questions in. Could any one give me soe directions? |
@MrLoh there's a simple starting point for a JSONP observable here #2095 (comment) |
Someone asked how to do class CurrentPositionObservable extends Observable {
constructor(options) {
super();
this.options = options;
}
_subscribe(observer) {
window.navigator.geolocation.getCurrentPosition(
data => {
observer.next(data);
observer.complete();
},
e => observer.error(e),
this.options
);
}
}
const geolocation = {
currentPosition: options => new CurrentPositionObservable(options)
};
// use it how you would in v4 rx-dom
geolocation.currentPosition()
.subscribe(value => console.log(value); Hopefully this also sheds some light on how easy it is to make custom Observables 😄 |
@trxcllnt I'd like to work on |
@martinjirku it's all yours 👍 |
I remember last discussion on core meeting about fate of Rx DOM implementation, so assigning @benlesh here to track further updates on those. |
@trxcllnt Is there a timeline to this thing? I am starting a project and I have to decide whether I can use RxJS 5 or not because I am going to use RxJS-DOM. |
@AlokBansal8 which parts do you need? |
I just came across a need for geolocation.watchPosition. In writing a first attempt at converting the RxJS 4 version I noticed that it does not seem to adhere to the spec. If I'm reading this correctly, watchPosition continues to emit values even if they are errors, but WatchPositionObservable unsubscribes on the first error. This seems like unexpected behavior per the spec. For my use case, I do want to remain subscribed so I'm transforming the output and sending everything to next. Am I misinterpreting the spec here? |
Closing as stale |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
from Reactive-Extensions/RxJS-DOM#105 (comment)
Here's what we've already ported from Rx-DOM:
Observable.ajax
,Observable.ajax.get
,Observable.ajax.put
,Observable.ajax.post
,Observable.ajax.delete
,Observable.ajax.getJSON
Observable.webSocket
Scheduler.asap
Scheduler.animationFrame
Here's what we're missing:
fromEvent
withuseCapture
. Either we should change our current fromEvent to accept auseCapture
boolean, or add afromDOMEvent
method.cc: @Blesh @staltz @mattpodwysocki
The text was updated successfully, but these errors were encountered: