-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Rxjs 6 support #5462
Comments
What is the problem with 6 and PrimeNG? |
Imports are handled differently in 6. I'm getting linting errors from the way primeng is bringing in operators and things like Observable and Subject. |
Angular 6 now uses the new version of Rxjs, so PrimeNG does not work with the new version of Angular, there is an error in imports. |
@cagataycivici some library developers are choosing to release an rxjs/angular 6 compatible version of their pacakges so people who want to upgrade can, and those who don't can stay with ng5/rxjs5 Is that something you'd be willing to entertain? |
I think Angular 6 uses RxJS 6, so PrimeNG 6 will use RxJS6 and PrimeNG 5 on RX5. |
Fantastic idea! |
Many thanks, looking forward to testing the new version of the Angular and PrimeNG |
@cagataycivici I'd like to help with updating Rxjs -- how can I submit a PR for this? I saw you made a 6.0.0 snapshot 25 days ago, but I'm not sure how to access that branch. Did you see Ben Lesh's talk at ngConf? They've got a nice package to help upgrade the project: Here's the relevant part of the talk: https://youtu.be/JCXZhe6KsxQ?t=20m22s Here's the repo: https://github.com/ReactiveX/rxjs-tslint For others looking to use Rxjs/Angular 6 with PrimeNg 5, make sure you've got the |
Angular 6 released today. Any ETA on this update? Again, glad to help with the upgrade process. |
Here is an official note of the angle that is on your blog https://blog.angular.io/version-6-of-angular-now-available-cc56b0efa7a4. "For example, the command ng update @angular/core will update all of the Angular framework packages as well as RxJS and TypeScript, and will run any schematics available in these packages to keep you up to date. we'll automatically install rxjs-compat in your application to make the adoption of RxJS v6 smoother. " So the version 5 of primeng would work perfectly with the Angular 6, I am already using in production without any problem. |
@gasparbarancelli the rxjs-compat package is meant as a temporary patch to cover any libraries that haven't updated to rxjs 6, so yes, it "works" -- but this shouldn't be seen as a solution. NB: This issue is not to to make PrimeNG work with Angular 6, the goal here is to make it support Rxjs 6. |
@markgoho-EDT totally agree. |
You can check the migration steps here -> https://update.angular.io/ |
Yes, but I just wanted to make it clear that for the moment you can run primeng with the new version of the angular without fear. And nothing prevents you from leaving the compat dependency in your package. |
@gasparbarancelli as a long-term solution, it's bad as it needlessly inflates the output bundle size. It really would be best to eliminate the dependency. |
Looking forward to v6 - this is the last lib I use that depends on rxjs-compat :) |
waiting as well |
we are waiting as well. |
Support Rxjs 6
The text was updated successfully, but these errors were encountered: