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

Bug: Receiving Error: Should have a queue. This is likely a bug in React. Please file an issue on usage of next-safe-action's useAction hook #29926

Closed
vnikolaew opened this issue Jun 18, 2024 · 1 comment
Labels
Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug

Comments

@vnikolaew
Copy link

React version:
18.3.1

Steps To Reproduce

  1. Navigate to /apps/web
  2. Run npm run dev to start the local Next.js Dev server
  3. Navigate to / route (Home)

Link to code example:
Link to the problematic code line in one of the repository files

Link to GitHub Project Repository:
TurboText

The current behavior

React / Next,js errors out with the following exception:

image

The expected behavior

React to not throw any unexpected errors.

@vnikolaew vnikolaew added the Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug label Jun 18, 2024
@rickhanlonii
Copy link
Member

The error is the invalid hook call in the log line before this, once that happens all bets are off and React could throw any number of errors. Looks like this invalid hooks call has been fixed on main already.
Screenshot 2024-06-29 at 1 09 06 PM

@rickhanlonii rickhanlonii closed this as not planned Won't fix, can't repro, duplicate, stale Jun 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug
Projects
None yet
Development

No branches or pull requests

2 participants