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

Cannot update a component while rendering a different component warning #67

Open
RaiSaugat opened this issue May 29, 2024 · 3 comments
Open

Comments

@RaiSaugat
Copy link

image

When I was trying run the project, I stumbled upon this issue. Is there any way we can solve this?

@myZhangDong
Copy link
Contributor

Can you provide in which file this error occurred

@RaiSaugat
Copy link
Author

When I refresh the main page, it showed this warning.
image

@myZhangDong
Copy link
Contributor

What version of React are you using? In this demo, updating react react-dom to version 18.2.0 will not cause this issue
https://codesandbox.io/p/sandbox/great-germain-v49kg6?file=%2Fpackage.json%3A13%2C5

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