Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
componentDidMount() {
this._clearOnLocationChanged = History.onChange(this.onLocationChanged);
}
return res;
});
}
render() {
return (
);
}
}
const RealPlotlyGraph = asyncDecorator(PlotlyGraph, () =>
Promise.all([plotly(), graph()]).then(([, graph]) => graph)
);
const ControlledPlotlyGraph = memo(props => {
const {className, id} = props;
const extendedClassName = className
? 'dash-graph ' + className
: 'dash-graph';
return (