News for hackers. Stuff that matters.
Re:Next.js 12.2: Middleware, On-Demand ISR, Experimental Edg... by QuiiBz on Tuesday June 28, 2022 @12:54PM (#31910142)
I wonder if we can build a Next.js app with this new `edge-runtime` mode, and host it on any platform that supports `edge-runtime` [0] APIs (like Cloudflare Workers (I think Vercel uses it?) and Deno Deploy).

If yes, that's truly amazing. It'll empower more and more people to run stuff at the Edge. I'm also working on an open-source alternative to the above offers [1], so I would love to be able to run and support Next.js on it.

edit: formatting

[0]: https://edge-runtime.vercel.app/

[1]: https://github.com/lagonapp/serverless

Re:Next.js 12.2: Middleware, On-Demand ISR, Experimental Edg... by leerob on Tuesday June 28, 2022 @02:05PM (#31910955)
In the future, yes absolutely! Cloudflare is working on their support for hosting Next.js. And would be happy to chat with you about your solution.
Re:Next.js 12.2: Middleware, On-Demand ISR, Experimental Edg... by QuiiBz on Tuesday June 28, 2022 @02:12PM (#31911041)
Great news! Feel free to DM me on Twitter (@tomlienard) if you want to chat about this, as I also want to support Next.js in the future for my runtime.
Re:Next.js 12.2: Middleware, On-Demand ISR, Experimental Edg... by dbbk on Thursday June 30, 2022 @06:01PM (#31939246)
Is there any public mention of Cloudflare's work on this? I can't find anything