-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[preact/compat] [Next.js] Uncaught TypeError: (0 , l.use) is not a function #4374
Comments
NextJS is not supported with Preact, FYI. We don't provide an implementation for
This is not a valid reproduction. Please follow the instructions we laid out in the bug template, it's there so we can help you better. |
Hey! Sorry for the (very) late response.
Unfortunately, that's all that happens by the time that the error occurs. I build the application, run it, go to the website and I see a blank page with that error logged in the console.
That seems to be the issue, the
Are there plans for official Next.js support? |
"Build a NextJS app" is not a valid reproduction. As the issue template instructs, we need a repo we can clone or a Stackblitz/CodeSandbox to look at.
NextJS will not be supported, no. They killed any chance of continued support (not that we necessarily loved maintaining the plugin either, it often broke) and entirely bought into React. |
Describe the bug
Next.js version: 14.3.0-canary.49 (latest canary at the time of writing)
Preact version: latest
next dev
works fine,next build
builds successfully but the following error is logged when entering the website:To Reproduce
Expected behavior
Website to open normally
The text was updated successfully, but these errors were encountered: