Bug: Should have an queue. This is likely to bug in react. Please file an issue
React version:
Steps To Reproduce
Please I cannot identify where is the issue
Link to code example:
The current behavior
The expected behavior
Under what circumstances would this error occur?
Under what circumstances would this error occur?
I have a state, by which I am mapping and rendering input field. There is a button, by clicking that I am adding an element to that array. Every input field has a onchange, which helps me to keep track of all of the input fields value.If I write something any of input or tries to add input by clicking the button.It throws me this error
I just encountered this issue also
I'm having the same issue. It happens when I update the state with the dispatcher of the useState hook.
I'm using NextJS, this only happens when compiling the app AND when the root of the component I'm using is within the RootLayout of the application. If I move the root to a page, it works fine.
It also works if my RootLayout is a client component.
I've tried creating a repro, but with no success.
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you!