preactjs / next-plugin-preact

Next.js plugin for preact X
394 stars 9 forks source link

Nextjs 13 compatibility? #68

Open web-programmer-here opened 1 year ago

web-programmer-here commented 1 year ago

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

bruceharrison1984 commented 1 year ago

Doubtful. There appears to be an issue between the latest version of Preact and NextJS https://github.com/vercel/next.js/issues/42530

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

lfre commented 1 year ago

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

FleetAdmiralJakob commented 1 year ago

Any updates here?

laneme commented 8 months ago

Looks like the reposatory hasnt recieved any updates ever since

mtnhld commented 6 months ago

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?

sydist commented 5 months ago

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