echarts-gl
echarts-gl copied to clipboard
Server side rendering (ssr) fails with forceatlas2
I'm using echarts-gl in a project with vite bundler. Server side rendering fails due to the use of "window.URL.createObjectURL" in src/chart/graphGL/ForceAtlas2.js. The "window" object is only available in browser environment. I can work around by using "client-only" rendering, but this is inconvenient. Not sure how to handle this properly though ... Can we leave generating the blob to the user?