question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Rxjs dependencies

See original GitHub issue

Hi,

I like your library, but I would like it so much more if you removed the rxjs-compat dependency as well as rxjs on version 5.

Can you migrate to rxjs 6?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:5
  • Comments:16 (4 by maintainers)

github_iconTop GitHub Comments

9reactions
Enngagecommented, Jul 8, 2019

Following is an image from webpack-bundle-analyzer where you can see that your library is exporting full rxjs package which is adding 122KB to bundle size. Size of your code is another 46 KB. I would really like to use this library, but its hard to justify +- 200kb just for a slider.

Since this is an angular plugin, you should not include rxjs in package dependencies, but rather define it as a peerDependency.

ng5-slider

2reactions
merobalcommented, May 3, 2020

I just found this now via Google search: https://github.com/m0t0r/ngx-slider

Read more comments on GitHub >

github_iconTop Results From Across the Web

rxjs - npm
rxjs. TypeScript icon, indicating that this package has built-in type declarations · Readme · Code Beta · 1 Dependency · 29,969 Dependents ·...
Read more >
Installation Instructions - RxJS
When RxJS 7.x is used on Node.js regardless of whether it is consumed via require or import , CommonJS code targeting ES5 will...
Read more >
The RxJS library - Angular
RxJS (Reactive Extensions for JavaScript) is a library for reactive programming using observables that makes it easier to compose asynchronous or ...
Read more >
rxjs dependencies - NPM Packages
Dependency, Version. tslib, ~2.1.0. Dev Dependencies (0). Dependency, Version. Information. Home page. https://rxjs.dev. git repository.
Read more >
rxjs - npm Package Health Analysis - Snyk
All security vulnerabilities belong to production dependencies of direct and indirect packages. License: Apache-2.0. Security Policy: No.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found