next-plugin-preact icon indicating copy to clipboard operation
next-plugin-preact copied to clipboard

Nextjs 13 compatibility?

Open web-programmer-here opened this issue 2 years ago • 6 comments
trafficstars

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

web-programmer-here avatar Dec 17 '22 16:12 web-programmer-here

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.

bruceharrison1984 avatar Jan 06 '23 05:01 bruceharrison1984

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

lfre avatar Jan 22 '23 18:01 lfre

Any updates here?

FleetAdmiralJakob avatar May 21 '23 14:05 FleetAdmiralJakob

Looks like the reposatory hasnt recieved any updates ever since

laneme avatar Nov 09 '23 07:11 laneme

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?

mtnhld avatar Dec 27 '23 08:12 mtnhld

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

sydist avatar Jan 24 '24 11:01 sydist