Giter VIP home page Giter VIP logo

Comments (3)

rschristian avatar rschristian commented on June 7, 2024

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.

EliasVal avatar EliasVal commented on June 7, 2024

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.

rschristian avatar rschristian commented on June 7, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.