Skip to content
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

Plans for RxJS v8 and Observable spec (roadmap question) #72

Closed
kosich opened this issue Dec 18, 2019 · 3 comments
Closed

Plans for RxJS v8 and Observable spec (roadmap question) #72

kosich opened this issue Dec 18, 2019 · 3 comments
Labels

Comments

@kosich
Copy link

kosich commented Dec 18, 2019

Hi, Nicholas!

First of all: great library and thank you for your work on rxjs!

Do you plan to merge (or maybe partially merge) operators from this library into rxjs v8 or higher?
Also, any thoughs/roadmap regarding upcoming yet-fuzzy Observable spec?

Thanks

@cartant
Copy link
Owner

cartant commented Dec 18, 2019

Do you plan to merge (or maybe partially merge) operators from this library into rxjs v8 or higher?

Not really. Something like splitBy should be added to RxJS - as partition is not especially useful - but there are no plans to add others. There was some discussion about including this package once the RxJS is reorganized to be a mono repo, but the outcome, IIRC, was that it would be better to not include it, as doing so would just introduce another bunch of official operators. I think it's better that it stays where it is. (The monorepo reorganization is so that the TSLint/ESLint rules can be made official.) Basically, the desire is for the core to be kept small - there are already so many operators in it - with userland operators being the norm. I guess this package shows how it's possible to write, test and distrubute userland operators.

Also, any thoughs/roadmap regarding upcoming yet-fuzzy Observable spec?

Not sure what you mean by this. There is a general, non-language-specific Observable Contract - that all ReactiveX implementations should fulfill. If you are referring to the TC39 observable proposal, I am not optimistic regarding it's chances - it's stalled and for some insight into why, see this comment. However, there is some renewed discussion here.

@kosich
Copy link
Author

kosich commented Dec 18, 2019

Thank you for the clarification and links!

(reversed order)

Also, any thoughs/roadmap regarding upcoming yet-fuzzy Observable spec?

Sorry, yes, I meant the TC39 proposal. I've seen the renewed one, though missed the older thread. And yep, it seems like the new one got stuck as well. I guess I had an overly optimistic vision of that proposal...

Do you plan to merge (or maybe partially merge) operators from this library into rxjs v8 or higher?

With the abovesaid, I hoped that rxjs v8+ would aim at covering generators/operators, while the core of the Observables would be implemented natively.

That would've relieved the pressure of implementing/supporting observable-core in rxjs.
That would've let authors provide and standardize more operators.
That would've let you merge this wonderful library with existing rxjs operators.

( a chain of wishful thinking 👆)

Currently, I'm working on a tool that has rxjs as a peer dependency. And I find this library to have lots of useful operators, while I'm a bit hesitant to add another peer dependency. So I hoped having one big vocabulary of operators would benefit the community.

(marking this as detached from reality and closing)

@kosich kosich closed this as completed Dec 18, 2019
@cartant
Copy link
Owner

cartant commented Dec 18, 2019

Note that you can always copy an operator to use in your own code and add the licence, etc. The reality is that most of the operators in the package are comparatively simple, tested and are highly unlikely to change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants