Is NextJS the future of React?

  Рет қаралды 33,196

Kodaps Academy

Kodaps Academy

Күн бұрын

A new Next JS version is out. And it brings some radical changes that seem to embody the direction React is moving in. What does that mean for us developers?
In this video, we are going to take a look at React: what it was intended to do and the shortcomings of that initial vision.
Then we’ll look at how the Next JS team tried to solve those issues and produced some new difficulties. And we will look at how the React team has been working hand in hand with NextJS to solve those shortcomings.
And how Next JS’s latest version embodies React’s vision for the future.
And above all, we will be looking at what that means for us developers.
-------
Want to go into further depth? Head to kodaps.dev/

Пікірлер: 68
@solomonakinbiyi
@solomonakinbiyi Жыл бұрын
This is beautiful. I tried out the NextJs13 and its new features like the loading ui, app directory, and the use hook. It's preety neat but crashes sometimes.
@shakilab55
@shakilab55 Жыл бұрын
Because it's still in beta version.
@KodapsAcademy
@KodapsAcademy Жыл бұрын
Hopefully version 13.3 that has just come out should be a bit more stable , they say the app directory router is getting closer to being ready
@ihsanpro9406
@ihsanpro9406 Жыл бұрын
Don’t run into hype train without understanding your requirements for your project. NextJS will be great for a e-commerce project where you have most of the data stored on your server but if your app has complex routing and many third party intergration where server side cannot possibly render without user interaction it will be a nightmare for you. We are currently migrating to React from next JS while few other projects we have with next JS works perfectly. It depends on your app requirement
@KodapsAcademy
@KodapsAcademy Жыл бұрын
I agree wholeheartedly :)
@rockrecon
@rockrecon Жыл бұрын
What about Solid JS?
@sebihanu
@sebihanu Жыл бұрын
could you be more specific about "complex routing" and "many third party integration". thanks!
@alansaldivares
@alansaldivares Жыл бұрын
Why back to React? UX? What happened then with the SEO?
@KodapsAcademy
@KodapsAcademy Жыл бұрын
There are some use cases (customer area, dashboard, …) where the page is behind auth and there is no need for SEO where having logic client side makes some sense :)
@pz_sf
@pz_sf 8 ай бұрын
Thank you for your amazing explanations! I am a backend engineer, looking to understand the right frontend tools for my startup's product. Your explanations cover architectural depth and how it impacts dev/user experience. Keep up the great work!
@KodapsAcademy
@KodapsAcademy 8 ай бұрын
Hi I'm glad you found the video instructive :)
@danialsiavashani
@danialsiavashani 9 күн бұрын
Thanks for the info, @5:42 i usally make seprate client components if i have await and pass data as props, but thanks for showing use(.....) had never seen it being mentioned elsewhere even chatgpt uses things like useEffect then inside that in awaites the function, which is never my ideal way
@akshaypathak4063
@akshaypathak4063 Жыл бұрын
Fantastic video. Thanks for covering the history of both react and next and where they are going.
@KodapsAcademy
@KodapsAcademy Жыл бұрын
I’m glad you liked it :)
@nsshing
@nsshing Жыл бұрын
People say NextJS is php but nextJS is way more convinent. Worst case senerio you can develop it like a react app but you can now easily build a full stack app with backend and api stuff more streamlined. It's really cool for solo developers and saves us a lot of time.
@edwardslayd7816
@edwardslayd7816 Жыл бұрын
Great video! Very excited to be using this in the future!
@m4cdemos
@m4cdemos Жыл бұрын
you can start at around 2:30 unless you really don't know how websites work (in which case, surely it's unlikely that you'd be watching this?). Some useful fundamental stuff afterwards, for somebody like me who has zero knowledge of Next.js. Thank you.
@unhandledexception1948
@unhandledexception1948 Жыл бұрын
@4:35 - 4:50 is exactly why I find react / nextjs has a steep learning curve as well (it is often presented as easy to learn) the intial getServerSideProps was an initial mind shift, and now it is obsolete. The API moves too fast to ever master, and frankly seems like there is no long term vision. I'd add that for those new developers just being onboarded, it is blurring the lines around the network boundary (front / back) and making debugging harder
@sudo-apt-upgrade-brain
@sudo-apt-upgrade-brain 3 ай бұрын
best video on react & nextjs
@yamilmsilva
@yamilmsilva Жыл бұрын
MAN I LOVE HE WAY YOU EXPLAIN !!!!! thanks for your video !!!!!!!
@peshutanpavri1599
@peshutanpavri1599 Жыл бұрын
This is incredible, thank you, I just wanted to know the difference between learning Express VS Next ? For the client side, Im going to use React, so is it better to use Next ?
@KodapsAcademy
@KodapsAcademy Жыл бұрын
It kind of depends how much server side logic you will need. If you're using React generally speaking I would recommend Next, unless the main focus is something very specifically server side like building an API for external (third-party) use. Hope that helps :)
@peshutanpavri1599
@peshutanpavri1599 Жыл бұрын
@@KodapsAcademy Thank you so much for this & getting back to me so quickly, much appreciated, This makes sense, I am already using Spring Boot Java/Kotlin for API's so I guess I can use that for the API's and use Next for React.
@pz_sf
@pz_sf 8 ай бұрын
For a b2b SAAS product that is being developed from scratch, do you advise using Angular or Next.js or Qwik? We would like a reliable frontend architecture where developers are high productive for next 5+ years. Appreciate your advice.
@KodapsAcademy
@KodapsAcademy 8 ай бұрын
Hi, it depends on how much structure your dev lead can impose. If I were starting a B2B SaaS product I personally would go for NextJS, for the ideas I would want to implement. The alternative for me would be an Angular frontend and a NestJS backend. Of course that will also depend on the exact requirements of what you would like to build.
@rajanishmaharana
@rajanishmaharana Жыл бұрын
if in your app real time communication happening using websocket where SSR is not required then in this case next js is use full? if some one want to go with react what is the best build tools to start like parcel /vite?
@riccarrasquilla379
@riccarrasquilla379 10 ай бұрын
thanks for the explanation
@ShiloBuff
@ShiloBuff Жыл бұрын
What I've never understood about SSR: is that it improves wait time. But rendering and computing still has to happen whether server or client. I imagine there is a slightly noticable wait improvement but nothing huge and the user will see a white screen instead of some content. So I don't see it as a huge benefit but I do love static rendered Websites if they are small. Can someone tell me what I may be misunderstanding? Never tried NextJS.
@KodapsAcademy
@KodapsAcademy Жыл бұрын
The rendered content can be cached server side so it doesn’t need to be recalculated
@mlmFormula
@mlmFormula Жыл бұрын
It can be a huge difference, depending on your app. You're correct that the server still has to render it (although that is often mitigated with prerendering), but what you have to realize is that the server is already running. Before react runs on the client the browser has to download the page, parse any styles/css, load & parse the JavaScript, THEN it can render. All the while the client is staring at a blank screen. The actual rendering part is typically pretty short (~1-300ms maybe), it's the time between page load and the browser being ready to run react that SSR skips, and that's what can make such a noticeable improvement
@joshuafountain
@joshuafountain Жыл бұрын
I just do server side generating every 5 minutes for dynamic apps that aren't realtime, works wonders for me
@ShiloBuff
@ShiloBuff Жыл бұрын
@@KodapsAcademy Great advantage! I didn't think about that. Im curious if thats default or a common feature.
@ShiloBuff
@ShiloBuff Жыл бұрын
@@mlmFormula Thank you, very detailed and insightful!
@michaelcarnevale5620
@michaelcarnevale5620 Жыл бұрын
great pacing and delivery
@KodapsAcademy
@KodapsAcademy Жыл бұрын
Thank you very much :)
@zain910128
@zain910128 Жыл бұрын
What did you mean by saying php and RoR have done same in the past?
@opticmind
@opticmind Жыл бұрын
As a beginner what should we learn react js of nextjs
@KodapsAcademy
@KodapsAcademy Жыл бұрын
You need to know a bit of React to learn Next JS, so I would start with React :)
@opticmind
@opticmind Жыл бұрын
@@KodapsAcademy Thnaks sir
@CheulongSear
@CheulongSear Жыл бұрын
Should I always just use Nextjs for my next project without considering using ReactJs?
@KodapsAcademy
@KodapsAcademy Жыл бұрын
If you're coding a website that needs SEO, yes. If you're doing something that doesn't need any SEO, don't bother. In between, it depends on your use case. If your purpose is to learn, go for Next JS.
@mohcinekhettou7619
@mohcinekhettou7619 Жыл бұрын
a lot of informations in thisvideo . thank you
@KodapsAcademy
@KodapsAcademy Жыл бұрын
I’m glad to be of service :)
@tobaniesan-george4168
@tobaniesan-george4168 Жыл бұрын
that closing statement was hard
@KodapsAcademy
@KodapsAcademy Жыл бұрын
I’m not sure I understand what you mean :) how was it hard ?
@tobaniesan-george4168
@tobaniesan-george4168 Жыл бұрын
@@KodapsAcademy I mean it was really cool😂
@aaronmotacek9343
@aaronmotacek9343 Жыл бұрын
Helpful video, thank you!
@KodapsAcademy
@KodapsAcademy Жыл бұрын
Glad to be of service :)
@MightyKingKala
@MightyKingKala Жыл бұрын
Amazing video thanks!
@KodapsAcademy
@KodapsAcademy Жыл бұрын
Hey, I'm glad you liked it :)
@Henzanno
@Henzanno Жыл бұрын
Pls I want to go into tech (a cs student actually) but didn't know where to start....
@KodapsAcademy
@KodapsAcademy Жыл бұрын
I would recommend you start a course on free code camp (freeCodeCamp.org if memory serves) and see if you like it. (That’s how my daughter started coding :) )
@nikolakikanovic9740
@nikolakikanovic9740 Жыл бұрын
Good explanation, thank you
@KodapsAcademy
@KodapsAcademy Жыл бұрын
My pleasure :)
@rainerpavletic4814
@rainerpavletic4814 4 ай бұрын
Your videos would've been better if you would stop repeating your questions over and over at each point. Just go straight to the point after one question. No need to repeat the questions or issues for dramatic purposes.
@KodapsAcademy
@KodapsAcademy 4 ай бұрын
Thanks for the constructive feedback :)
@JamesRBentley
@JamesRBentley Жыл бұрын
Too many effects. Tone it down. You are interesting, let your wisdom entertain us.
@Henzanno
@Henzanno Жыл бұрын
Pls I want to go into tech (a cs student actually) but didn't know where to start....
@ExeeGamingYT
@ExeeGamingYT Жыл бұрын
@Neche Okechukwu Hey, you can start with either web development or mobile applications. dig into how web development works like front-end, back-end, then there is mobile application which are native and cross platform, native is like you build application for only ios or android perticularly and cross platform is like you will write code once and it will work on both, at first try everything and find what suits you, and don't go with hypes like rn everyone is talking about next. go with tech which you like and you're comfetable with, sorry for bad english.
@Henzanno
@Henzanno Жыл бұрын
@@ExeeGamingYT I would love to but have. Always been confused on course to start with ,whether mobile or web dev.
@ExeeGamingYT
@ExeeGamingYT Жыл бұрын
@@Henzanno if you want to learn react then there is good channel called "Jack Herrington" you can try few videos first 😄
@ExeeGamingYT
@ExeeGamingYT Жыл бұрын
@@Henzanno and there is another channel called "The coding train" which has good coding Content and good way to teach 😄, but many video are based on javascript
@Henzanno
@Henzanno Жыл бұрын
@@ExeeGamingYT thanks alot, which are u into?
React vs Angular in 2024
9:00
Kodaps Academy
Рет қаралды 53 М.
Do you REALLY need SSR?
18:15
Theo - t3․gg
Рет қаралды 171 М.
How Strong is Tin Foil? 💪
00:26
Preston
Рет қаралды 103 МЛН
Новый уровень твоей сосиски
00:33
Кушать Хочу
Рет қаралды 4,6 МЛН
The Truth About Next.js 14
17:12
Theo - t3․gg
Рет қаралды 74 М.
Understanding React 19's Changes
6:46
Kodaps Academy
Рет қаралды 3,8 М.
Next.js For React Developers | Everything You Need To Know
28:57
Next.js 13… this changes everything
6:16
Fireship
Рет қаралды 779 М.
Pure React vs Next.js | What’s Happening in React?
12:23
Lama Dev
Рет қаралды 53 М.
State Managers Are Making Your Code Worse In React
13:33
Web Dev Simplified
Рет қаралды 185 М.
Why learn Zig?
6:44
Kodaps Academy
Рет қаралды 12 М.
DHH - Ruby on Rails, 37signals, and the future of web development
1:09:57
tRPC: the API Game-Changer?
4:16
Kodaps Academy
Рет қаралды 4,3 М.
Next.js isn't React
17:11
JavaScript Mastery
Рет қаралды 229 М.
How Strong is Tin Foil? 💪
00:26
Preston
Рет қаралды 103 МЛН