←back to thread

Next.js is infuriating

(blog.meca.sh)
1033 points Bogdanp | 2 comments | | HN request time: 0.48s | source
Show context
platelminto ◴[] No.45100959[source]
I was about to start a new project with Next.js... is anyone willing to give me some advice?

I'm about to start building an e-commerce site (30-50k poster print designs, i.e. no inventory), and was leaning towards a Django backend (because I know it) and... some sort of SSR frontend. I'm not really a frontend guy, but taking this as an opportunity to learn it. This article obviously does not inspire confidence in me choosing Next.js - would someone have any suggestions/pros and cons of what to use?

I currently see the options for doing SSR as:

- Next.js: well-represented in AI training data (though recent versions had breaking changes? I'm not sure), but annoying to actually use (according to this article/general sentiment I've found online), and pushes you into Vercel? (I barely know what that means)

- SvelteKit: best DX and nice to use, but might be less present in AI training data?

- Django templates + HTMX: possibly limiting? Less maintainable once you get to a certain size? I'm not sure.

- Other options?

replies(12): >>45101031 #>>45101036 #>>45101091 #>>45101126 #>>45101160 #>>45101550 #>>45101551 #>>45102120 #>>45103502 #>>45107587 #>>45108442 #>>45109794 #
xdanger ◴[] No.45101160[source]
You should really try Nuxt (a vue framework, like Next.js but better).
replies(1): >>45101786 #
Aldipower ◴[] No.45101786[source]
I had to use a webpage built with Nuxt recently. This thing was completely messed up.
replies(1): >>45127930 #
1. xdanger ◴[] No.45127930[source]
Mess ups are not framework dependant.
replies(1): >>45196748 #
2. Aldipower ◴[] No.45196748[source]
To some extend they are, sure. A framework is there to assist and help you. If you mess things up, then to some extend the framework wasn't very helpful or even distracting.