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.
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 CSSer on Tuesday June 28, 2022 @07:00PM
(#31914201)
It’s a welcome improvement. I don’t understand why image generation needs to be dynamic. Why not generate responsive variants during build time? These are likely not going to change.
Re:Next.js 12.2: Middleware, On-Demand ISR, Experimental Edg...
by indemnity on Thursday June 30, 2022 @03:32AM
(#31929663)
I know that I’m an edge case and that I’m losing half of the benefit of these modern stacks’ blurring the lines between client and server but I still wish I could use something like Next on the frontend but Rust/Go on the backend.
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
Calling out astroturfing is a no-no around here, but given you mostly only comment on Next.js news you should be more transparent about it.
You can, what's stopping you? Many use Next just like any other frontend and have their own backend servers in whatever language they want.