Comments (3)
NextJS is not supported with Preact, FYI.
We don't provide an implementation for use
yet through compat, which looks like the issue.
Build your Next.js app
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.
from preact.
Hey! Sorry for the (very) late response.
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.
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.
We don't provide an implementation for
use
yet through compat, which looks like the issue.
That seems to be the issue, the use
hook is new so should've expected that not all libraries support it yet 😅
NextJS is not supported with Preact, FYI.
Are there plans for official Next.js support?
from preact.
I build the application, run it, go to the website and I see a blank page with that error logged in the console.
"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. Anything else has us blindly guessing at your setup, we have absolutely no idea how you configured it.
Without a reproduction there's very little chance anyone will be able and willing to help.
Are there plans for official Next.js support?
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.
from preact.
Related Issues (20)
- Using useState leads to error: Uncaught (in promise) TypeError: Cannot read properties of undefined (reading '__H') HOT 3
- Render mui cache inside shadow dom leaves style sheets in head and content unstyled HOT 2
- `defaultValue` incorrectly (?) diffed against prerendered HTML
- Preact 10.20 + @mui/x-data-grid v7 causes datagrid to appear multiple times in dev-mode, but not in preview-mode HOT 1
- Performance of unmounting a context provider
- Runtime error when using an external react module HOT 5
- Incorrect namespacing of MathML elements
- `createRoot` uses an unsupported syntax for IE11
- [preact/compat] Difference in how events are processed (floating-ui) HOT 2
- Headless ui issues after 1.7.17 HOT 4
- render() with popover doesn't work HOT 2
- False positive on render loop detection HOT 1
- Rendering just gets slower over time HOT 18
- hate your ukraine banner
- one more time on the Ukraine banner HOT 2
- Boolean values not handled as expected for `popover` prop
- Suggestion, stay away from politics
- Type errors involving `forwardRef` and `Ref` in the compatibility layer. HOT 3
- Color of ix-icon-button HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from preact.