ReactJS or NextJS

preview_player
Показать описание
Should you learn ReactJS or NextJS? What is the difference between NextJS and ReactJS? How do they relate to each other? What value does NextJS add? Learn about all of this, in a minute.

#shorts
Рекомендации по теме
Комментарии
Автор

It seems as though the reason to choose either is whether the programmer is professional or want to seem professional, and the truth is that many apps don't require server-side rendering.

kikevanegazz
Автор

Vite, not CRA. Never CRA, but Next is overkill sometimes

bobDotJS
Автор

If we're moving away from SPAs, at this point why use Nextjs at all instead of just using something like Django, Rails, Laravel, etc? You know, frameworks that actually have their shit together.

punkweb
Автор

Not to sound rude, but the question which one to use wasn't really answered. Obviously SEO is Next's biggest real advantage but other than this, it's just an opinionated React with SSR/SSG capabilities. You can just install react router for example instead of using Next's built-in router management. I saw you mention Security at a different comment, but if you build the back-end, this is where you can make it very secure. So I still don't understand the advantage. To me, if you need SEO go with Next.js. If not, then why else would you?

omrtheater
Автор

Would you prefer NextJs over vanilla react for apps that have a lot of client side interactions with forms?

tasin
Автор

Short, but the message extremely powerful.

ibrahimm.
Автор

I often ponder the use case for either, there isn’t many options for cheap self hosting of nextJS you’ll end up using vercel or netlify, I’ve seen some implementations with lambda at edge with AWS but they never support the latest nextJS version

harryzachariou
Автор

I used React JS with Laravel (Inertia JS)

imnash_on_E
Автор

Another part should also be flexibility and extensibility.

These words are thrown around a bunch, but a real situation I encountered recently was specific AWS front end libraries not working with Next.js because of non native Next support for AWS-CRT (common runtime).

Trying to deal with polyfills and aws-crt (which basically tries to bundle Node functionality that is natively supported in the browser) was a nightmare. The current solution is downloading binaries written in C into your node_modules. Nextjs says they have experimental support for aws-crt but it’s not fully there.

So forced my hand on using React built with Vite

alexander_ci
Автор

Correct me if I'm wrong but with next js, you'll have to pay for servers just to render html pages? Why not just go MVC from the backend?

andrewmartinez
Автор

Learn basic of React and learn NextJS is you want to enter the working area

unlucky-
Автор

For professional working people use next

And for expert working people who charge fortune for project to give optimum experience use react.
Cause eventually you will building a small framework that has only things you need

TalhaShaikh-vw
Автор

Use vite, if it's just a single page, never use CRA

alfathizha
Автор

I get that NextJS is the hot favorite in town right now, but Remix seems like a strong competitor.

BeeBeeEight
Автор

Should u learn react then nextjs or go directly for nextjs

VigneshGawali
Автор

..."I think the question is should I be writing create react app or next js?"...I spent the past two days thinking about this and I'm beginning to think again I suck at coding cos most video resource are not answering the right question and you just asked just that and also answered. Thank you so much for this!

Sporadics
Автор

what about Astro? seems much more flexible

felipefs
Автор

Just alone, react library is just for state managment...
Isn't right sir ?

mr-moses-
Автор

I don’t understand why CRA is always described by saying “single page application”. You can have more than one page with CRA. Why do people say this?

anthonysmith
Автор

But I can’t learn NextJs without knowledge of React?

artemzakunts