Hello,
I am encountering an issue with displaying charts from bizcharts in a React/Next.js project when StrictMode is enabled. The charts do not appear while StrictMode is active.
Steps to Reproduce:
- Create a new project using npx create-next-app@latest.
- Install bizcharts with npm i bizcharts.
- The code added to the main page of the application can be found in the attached image.
- Launch the application with npm run dev.
- Notice that the charts are not rendered.
Attempted Solutions:
- After stopping the application and changing reactStrictMode: false in next.config.js, the charts render correctly.
- Tested changing react-reconciler to version 0.29.0.
- The project was also tested with installation via yarn.
Question:
Is it possible for bizcharts to work with React version ^18 without disabling StrictMode?
Thank you in advance for your assistance!
1条答案
按热度按时间qzwqbdag1#
Me too!!!