4 ms·
> It seems to be quite integrated with node when it comes to some react components like next, nuxt or whatever. I find Next.js to be a hot mess of a framework.
by chipdart 2y ago
> It seems to be quite integrated with node when it comes to some react components like next, nuxt or whatever.
I find Next.js to be a hot mess of a framework. Sure, it's nice to have the whole convention by configuration thing to have routable pages and pass path parameters, but the way it mixes server-side rendering with everything ends up building up a gigantic mess of a JavaScript blob that blows up spectacularly when anything doesn't quite work.
To put this in perspective, vanilla React is the epitome of simplicity when compared with Next.js. Truly awful stuff.
> Is it not possible to just like include react through CDN with `link` or `script` tags and still make good use of it?
If by "include react" you mean serve the JavaScript bundle through a static file server, technically it is. However, you'd forego some techniques to prevent cross-site request forgery attacks. So unless you only want your web app do to read-only access to data, you need to implement some server-side code as well.