You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you can see on Bundlephobia, the package d3-array currently comprises 40% of the total size of react-compound-slider! It's not the heaviest thing in the world but still, lightening the load is never a bad thing.
d3-array is used exactly once: its ticks function is used here
A problem i've noticed is that the version of d3 being used by react-compound-slider has some arrow functions in it which aren't transpiled. There may be other things that need transpiling too, but an arrrow function is where IE falls over for me. This makes react-compound-slider v3+ incompatible with IE 11. We've had to downgrade too 2.5.0 in order to use this library and remain compatible with IE.
As you can see on Bundlephobia, the package
d3-array
currently comprises 40% of the total size ofreact-compound-slider
! It's not the heaviest thing in the world but still, lightening the load is never a bad thing.d3-array
is used exactly once: itsticks
function is used herereact-compound-slider/src/scales/LinearScale.ts
Line 1 in b24286d
I wonder if you'd consider extracting just the
ticks
function so the rest ofd3-array
doesn't need to be included?https://github.com/d3/d3-array/blob/master/src/ticks.js
The text was updated successfully, but these errors were encountered: