-
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
Move rxjs/add/*
modules to a separate package for 6.0?
#2913
Comments
This seems related with #2911, so in next major, dot chain operator syntax is no longer default thing? I think this discussion is really depends on those direction. |
Yeah, I suppose it's related for sure. Although it doesn't really have to be... you can definitely have dot-chaining without |
There should be long other discussions need to be done, But first I'd downvote to eliminating it completely. It's too radical even for major breaking. |
@kwonoj I think I agree. I don't think I'm down for completely eliminating it. At least not in the short to mid-term. But a separation might provide people better guidance and clarity. |
yes, I'm sort of agreeing to separate packages, especially given size constraint we'd like to achieve in pkg. Either case it'll be huge breaking so through guide / migration process should be prepared. |
A separate package could possibly have very confusing bugs with node module resolution / node_modules structure where the |
@felixfbecker the separate package would need to have peer-dependency requirements. |
I am undecided if this is the right place to ask this question, or StackOverflow might be best for this. So here i go. My introductions to rxjs was through the excellent Angular framework and throughout every tutorial and in practice has been "import whatever you need from
As explained in lettable documentaion, and If I am reading this right, chaining is discouraged as way forward, and pipe is the recommended implementation. The same implementation should be written as follows
Because when i read the source, especially after https://github.com/ReactiveX/rxjs/blob/master/src/Rx.ts#L41 its seems that chaining is perfectly acceptable, however this proposal is discussing adding My question is, how will this effect chaining in future? |
This is done. We effectively did this with |
Most of us are in agreement that we'd advise people use the pipeable operators instead of the prototype patching for a variety of reasons that have been outlined elsewhere.
Do we want to keep the
rxjs/add/*
modules in the same package as everything else, or do we want to have a separate package to support dot-chaining on NPM?Or... more extreme... should we eliminate them? Maybe even wait for v 7 for that?
Either way, how could we best educate people of the caveats?
The text was updated successfully, but these errors were encountered: