This is (mostly) untrue. It's easy to deploy Next anywhere you can run a node server. What's more fiddly is deploying it somewhere that has its own special environment, like AWS Lambda, Cloudflare Workers, Netlify etc; basically "serverless". But adaptors do exist for most of these to make it fairly painless, they're just not part of Next itself.
The advantage of Remix in this area is less that they've written their own adaptors for these platforms (do we really care who writes them, as long as they exist?), but more that the level of abstraction they've chosen appears to make it _easier_ to write these adaptors.
Edit: Something I missed, is that Remix does appear to work on Deno, whilst Next doesn't.
I run 3 non trivial Next.js apps in prod. While I have used Vercel in the past, I'm not currently. One is completely SSG (served by nginx) which is absolutely amazing and is the killer feature that keeps me going back to next.js. The other two have node because they use next/Image. I do really wish there were a compatible Image with SSG, but it is absolutely not hard to run a node app in prod, and there's no difference between a node app and a next.js that needs node.
I made my blog with Next.js which is deployed with github actions on gh pages, there was some tricky thing about static paths but that might have been fixed and if it was anywhere close to "a nightmare", I would remember.
jstummbillig|4 years ago
If it ever was, this certainly isn't true right now.
I have very recently built a small, perfectly capable website with a colorful mix of Next.js functionality and deployed it on my own server.
Happy to report that it really is as simple as the docs make it seem: https://nextjs.org/docs/deployment#nodejs-server
andrewingram|4 years ago
The advantage of Remix in this area is less that they've written their own adaptors for these platforms (do we really care who writes them, as long as they exist?), but more that the level of abstraction they've chosen appears to make it _easier_ to write these adaptors.
Edit: Something I missed, is that Remix does appear to work on Deno, whilst Next doesn't.
freedomben|4 years ago
nsonha|4 years ago
playpause|4 years ago
I’ve never heard this before. Why is it a nightmare? Isn’t it just a Node app?