Struggling with NextJS 13 and Vercel #2979
Replies: 5 comments 5 replies
-
Hey @finom, I'm sorry you've had a bad experience here. A few notes:
You are correct that right now, Next.js isn't designed to be for only REST APIs. While it does work, more powerful API frameworks like Nest might serve those needs better. Hope this helps 🙏 |
Beta Was this translation helpful? Give feedback.
-
Agreed, it's growing into this behemoth of a mess. It was the perfect amount of abstraction on top of react when it was simple and focused. It should've stopped there, other stuff should've been separate libraries. |
Beta Was this translation helpful? Give feedback.
-
Wow, I was extremely frustrated, but since then, a lot has happened. Just two weeks after my initial angry post, I started developing my own solution for complex back-end apps, which addressed the problem of having too many files. Streaming on Vercel now works, but it requires a paid plan for LLMs with responses longer than 10 seconds. Although middlewares are used for only a few specific use cases, they are functional. The Edge Runtime restrictions have been mitigated by the community, which now creates platform-agnostic libraries. Overall, I found solutions or workarounds for every issue I encountered. To gain more control over the back-end and avoid Vercel's restrictions, I am gradually transitioning to Coolify, which is a great alternative to Vercel in some cases. |
Beta Was this translation helpful? Give feedback.
-
Agreed. They should stop pouring money into influencers and actually support their product. |
Beta Was this translation helpful? Give feedback.
-
This discussion was automatically locked because the community moved to a new site. Please join us at vercel.community |
Beta Was this translation helpful? Give feedback.
-
I'm a big fan of NextJS, but some of the recent edge features have been challenging to work with.
Response streaming is not supported on Vercel, which is crucial for my OpenAI projects. As a result, I've had to move back to Heroku to ensure the necessary functionality.These issues have been a bit frustrating. While the app router was announced as a ready-to-go framework, it seems it was tested on a limited set of features. NextJS is excellent for large front-end applications with small REST APIs, but when additional functionality is needed, these restrictions can be quite challenging to work around. I hope future updates can address some of these concerns.
Beta Was this translation helpful? Give feedback.
All reactions