Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Chart Visualization in React/Next.js Project Using StrictMode #1559

Open
emnetdev opened this issue Jan 5, 2024 · 1 comment
Open

Comments

@emnetdev
Copy link

emnetdev commented Jan 5, 2024

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:

  1. Create a new project using npx create-next-app@latest.
  2. Install bizcharts with npm i bizcharts.
  3. The code added to the main page of the application can be found in the attached image.
  4. Launch the application with npm run dev.
  5. Notice that the charts are not rendered.

image

image

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!

@iYogic
Copy link

iYogic commented May 2, 2024

Me too!!!

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants