a84672e63e
x-ref: https://github.com/vercel/next.js/pull/36552#issuecomment-1120128946 x-ref: https://github.com/preactjs/next-plugin-preact/pull/59 `preact/compat` doesn't have `/server.browser` exports, to make it work with latest of next.js: * use `react-dom/server` to detect if it could opt-in streaming rendering by checking react 18 `renderToPipeableStream` API in short time fix. In long term `preact/compat`should support `/server.browser` that same with react 17. * Also filed a PR to `next-plugin-preact` to skip chunk-prepending to pages in edge compiler |
||
---|---|---|
.. | ||
next.ts |