Closed dkrefta closed 1 year ago
Are you asking about Preact's NextJS plugin (next-plugin-preact
), or Preact itself?
It looks like the v9.0.0 release of Next supports React 16.x, so there shouldn't be any issues there (theoretically) in swapping in preact/compat
. Compatibility in this case is mostly up to Next; while Preact offers nearly full compat with React, Next still needs to facilitate the aliasing.
Yes, Next@9 should be fully supported. It's a bit old so I'm not entirely sure whether the next-plugin-preact
does too much or too little but following the steps that we do there should be enough to make it work.
prefresh
if you need fast-refresh
no idea if that was supported in v9@JoviDeCroock and @rschristian yeah was the plugin but also the preact version, but I did some changes and I upgraded the next to 10, for this project had a lot of breaking/amounts of cash but all good now. thanks very much guys!
Hey Guys, I'm trying to check which version this old legacy Next JS project can use the preact, there is nothing I can find about compatibility? the NextJS version of this old project is 9 ( unfortunately I want to do a little bit of booster in performance until we finish another new project lol ) Thanks guys! :D