-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
Description
I am seeing a browser console messages when a component containing the EChart is rendered multiple times while the chart is initializing. I am not sure if this is an issue or if I need to change how I use the EChart component.
The console message I see when using Chrome is:
[ECharts] There is a chart instance already initialized on the dom.
Link to Reproduction
https://stackblitz.com/edit/stackblitz-starters-6kgmdx?file=app%2Fpage.tsx
Steps to reproduce
- Open the Stackblitz
- Click Open Preview in a new tab at the top right of stackblitz and click on Connect to Project in the new tab/window.
- Open the browser Console for the new tab/window.
- The tab/window with the Preview may need to be refreshed a few times to see the message in the browsers Console.
JS Framework
Next.js 13 (TS)
Version
1.2.0
Browser
Google Chrome 126
Operating System
- macOS
- Windows
- Linux
Additional Information
If the number used in setInterval is increased from 200 to 2000 the console message does not show.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed