Open ccolonna opened 3 years ago
I am also having same issue, any suggestions?
I inspect the problem it is related to d3 selection multi archived package. Here is the line of code where it crash: https://github.com/esnet/react-timeseries-charts/blob/aa9c9b368100d78337b562d9e2833f2d90d9de3d/src/components/TimeAxis.js#L181 .
At the moment I tried to apply a patch like this but I didn't test if it breaks the code somewhere. The component anyway mounts.
const g = select(ReactDOM.findDOMNode(this)) // eslint-disable-line
.append("g")
.attr("class", "x axis")
.style("stroke", "none");
// .styles(valueStyle)
Object.entries(valueStyle).forEach(([prop, val]) => g.style(prop, val));
g.call(axis.tickSize(tickSize));
Also having the same issue from Version 0.15.0 up. This doesn't happen in Version 0.14.0
Hi all, I found two version d3-selection in my yarn.lock and try remove another not this project used one it works for me
so, I think is d3 problem, maybe?
🐛Bug report
Describe the bug
<TimeAxis>
raise this error. This works good except for a fluxible app i inherit. Maybe you can suggest a workaround ? :)To Reproduce Cannot suggest a way to reproduce as this works everywhere escept for a fluxible app i inherit