preactjs / next-plugin-preact

Next.js plugin for preact X

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nextjs 13 compatibility?

web-programmer-here opened this issue · comments

Is this compatible with the latest nextjs? after I run npm run build nothing happens and it does not build and no errors are shown

Doubtful. There appears to be an issue between the latest version of Preact and NextJS
vercel/next.js#42530

I wouldn't expect this library to work or be updated until that is fixed.

If you must, I patched Next 13 with the least amount of changes to work with Preact again https://github.com/lfre/next-13-preact. You can copy the patches folder and run patch-package

Any updates here?

commented

Looks like the reposatory hasnt recieved any updates ever since

will there ever be an update to this? i would love to use preact with nextjs instead of bloated react, but sadly no updates for a year...

can we get a word on this?

Check out this article for now
https://dev.to/dephraiim/use-preact-in-nextjs-13-24pp
It worked for me