That's very confusing. But so is the entire article.
While I have your attention, as a relative newbie to web dev (with limited time and focus), is Next.js my way to go?
That's very confusing. But so is the entire article.
While I have your attention, as a relative newbie to web dev (with limited time and focus), is Next.js my way to go?
However, if you just want a static site, Next.js is great.
You could also write native astro components which are very close to vanilla html css with added benifit of making reusable components and scoped css. And you can also use svelte or vue components.
Honestly, you can use Astro and then still use React if you want. Doing so would be similar to next.js in some ways, though you need to hook up an adapter if you want server-side rendering
I believe Docker works because you're doing "npm run start" and containerizing Next.js, essentially proxying the server to then serve to the client. Basically running it on localhost. For example, you can run Next.js on EC2 if you want, but you have to proxy the connection to allow the client to connect to it.
Again, I'm not an expert as to why exactly it doesn't work - I just know that it doesn't work the same way a simple node app works, which therefore adds a ton of steps involved that don't make it worth it to me.
We moved a project at work and it’s been night and day for us. Not going back.
Obviously "it depends (TM)" on a bunch of things but for most of those things, Next.js is a safe bet, sure.
It's a (the?) leader in the React framework space and the ecosystem reflects that (e.g. most problems or decisions a newbie would run into is likely to have a trove of docs/blogs/tutorials/ect. available to get past them quickly, plenty of options for hosting, marketable as a skill if that's what you're into, fine DevEx all things considered, it'll likely be around for quite some time even if vercel shuts down tomorrow.) The same is true for React.
I'd personally go with Remix though :)
Downside is that there are many jobs yet.
Svelte is certainly easy to pick up, compared to anything React oriented like Next IMO. That said, the issue I had with most of these frameworks were integrating other libraries into them and quite a few of them seemed to not match with whatever version either the framework was using, or the libraries themselves were outdated.
Then again, I'm a noob at this so it most likely could have been my lack of knowledge.