I want to add a scatter3d plot to my React Plotly app. But I’m getting “WebGL is not supported by your browser - visit https://get.webgl.org for more info” using the latest Safari and Chrome.
Of course my browsers do support WebGL when I visit https://get.webgl.org, and https://plot.ly/javascript/3d-scatter-plots/ and https://plot.ly/javascript/webgl-vs-svg/ as suggested in https://community.plotly.com/t/ie-11-webgl-is-not-supported-by-your-browser-visit-https-get-webgl-org-for-more-info/32252.
I suspect it has to do with the fact that I’m using import createPlotlyComponent from "react-plotly.js/factory";
, which I have to in order to avoid “JavaScript heap out of memory”, as suggested in https://github.com/plotly/react-plotly.js/issues/135#issuecomment-500399098.
Here’s my sandbox link: https://codesandbox.io/s/frosty-robinson-zn9rn
Thank you very much.