react icon indicating copy to clipboard operation
react copied to clipboard

Bug: Should have an queue. This is likely to bug in react. Please file an issue

Open mahabubsaki opened this issue 2 years ago • 4 comments

React version:

Steps To Reproduce

Please I cannot identify where is the issue Screenshot 2023-12-10 112033

Link to code example:

The current behavior

The expected behavior

mahabubsaki avatar Dec 19 '23 13:12 mahabubsaki

Under what circumstances would this error occur?

junqqqz avatar Dec 22 '23 02:12 junqqqz

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

mahabubsaki avatar Dec 22 '23 05:12 mahabubsaki

I just encountered this issue also

jhaase1 avatar Dec 25 '23 21:12 jhaase1

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.

acidfernando avatar Dec 28 '23 18:12 acidfernando

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!

github-actions[bot] avatar Apr 05 '24 02:04 github-actions[bot]

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!

github-actions[bot] avatar Apr 12 '24 15:04 github-actions[bot]