You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm using CRA v5, but Chart rendering problem in React.StrictMode.
becasue React 18 renders my component twice in development mode(strict mode).
The strict mode is removed, so it works normally.
Expected behavior
I hope the chart will be rendered only once even in strict mode.
Screenshots
when applied React StrictMode
Render twice above Chart container
chart container has strangely height
when remove React StrictMode
chart container has normally height
Desktop (please complete the following information):
Describe the bug
I'm using CRA v5, but Chart rendering problem in React.StrictMode.
becasue React 18 renders my component twice in development mode(strict mode).
The strict mode is removed, so it works normally.
Expected behavior
I hope the chart will be rendered only once even in strict mode.
Screenshots
when applied React StrictMode
when remove React StrictMode
Desktop (please complete the following information):
Additional context
I wonder how your team will solve it.
The text was updated successfully, but these errors were encountered: