What Theo Won't Tell You About Next.js

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ม.ค. 2025

ความคิดเห็น • 276

  • @t3dotgg
    @t3dotgg 2 ปีที่แล้ว +869

    I approve this message I think

    • @tapank415
      @tapank415 2 ปีที่แล้ว +18

      Haha yes! quick question would t3 suck for backend heavy applications too?

    • @iuc7254
      @iuc7254 2 ปีที่แล้ว +35

      Why the fuck is this comment 12 hrs before the main video

    • @swattertroops-yaaa
      @swattertroops-yaaa 2 ปีที่แล้ว +5

      @@tapank415 definitely

    • @swattertroops-yaaa
      @swattertroops-yaaa 2 ปีที่แล้ว +4

      @@iuc7254 probably private release

    • @JLarky
      @JLarky 2 ปีที่แล้ว +1

      I don’t agree with this message 😂

  • @_sjoe
    @_sjoe 2 ปีที่แล้ว +249

    I love what's starting to happen on YT with all of these serious discussions about dev. Love seeing different perspectives, because we all learn from it. Fucking banger content, thank you.

  • @wlockuz4467
    @wlockuz4467 2 ปีที่แล้ว +76

    "ISR whatever that is, I am too dumb to figure that out"
    Thats too relatable

  • @thedigitalceo
    @thedigitalceo 2 ปีที่แล้ว +38

    Sounds like a real backend developer busted some myths. However I think for us that use NextJS heavily we’re not full fledged backend devs. We’re mostly front end, need reliance on server side rendering of react components while needing a few backend API calls.

  • @kangalio
    @kangalio 11 หลายเดือนก่อน +6

    This, is FANTASTIC. That model of web project structure is spot on and so versatile, and you seem so sincere/authentic/honest with all your statements. So satisfying to watch

  • @Jdunn-v2u
    @Jdunn-v2u 11 หลายเดือนก่อน +14

    The chopsticks were so out of left field from what I expected 😂 instant subscribe

  • @arkngelus
    @arkngelus 2 ปีที่แล้ว +37

    Not sure why you would need to constraint yourself to nextjs in this case for backend if it's limiting your project. Just create the Frontend in nextjs and
    use what ever you want as backend (rails, nest, python, java, c#) it doens't matter
    for example: there are a lot of AI tools in python why would you need to force it in JS (nextjs), use flask or any other BE available and consume that service from the FE.

    • @ebrelus7687
      @ebrelus7687 2 ปีที่แล้ว +1

      To learn one thing best not few things worse than best. Why can't we have one thing good at everything or two things perfectly aligning with each other with a similar way of coding & thinking about code?

    • @xxapoloxx
      @xxapoloxx ปีที่แล้ว

      @@ebrelus7687 This is a recipie for planned obsolecense, yours.

    • @shimadabr
      @shimadabr 8 หลายเดือนก่อน

      ​@@ebrelus7687Because it's impossible. Each language and ecosystem has it's strengths and weaknesses. If the project has a usecase that some language/ecosystem would fit very well, it doesn't make sense to reinvent the wheel, because 1. you and your team will probably not solve the problem as well as the libraries that inspired you 2. you can't afford the time investment 3. Even if you aim to use some 3rd party library, very often that library is not as well maintained and documented as the one from the language you refused to use and 4. it's very common that through the development you or you team realizes the project demands a lot more stuff than anticipated that the other language/ecosystem solves much more easily, now you are stuck with points 1-3.

    • @TimurIshuov
      @TimurIshuov 6 หลายเดือนก่อน

      If you are not 10 years into this, I wish you good luck. I think it would be better to synchronize with javascript/php then with such complex "easy to use" environment as next.js where you don't know where to find ends not to say connect them.

  • @ammaraateeb1914
    @ammaraateeb1914 ปีที่แล้ว +6

    Makes sense. I just finished working on a organisations finance and management project. Even though Next has a clean and robust workflow for the front end but alot of the backend implementations required a dedicated backend framework. For example run cron schedule jobs (generate automated reports on daily, weekly, fortnightly mornth quarterly and yearly bases). Mailing service so send out alerts, reminders and warnings, server health checks, file system related tasks , db service layering (caching, index metering and optimisation) etc. These things could have some how been managed with next but would have absolutely been inefficient and not very flexible.

  • @SXsoft99
    @SXsoft99 2 ปีที่แล้ว +23

    There is something to add about fullstack developers
    They either write a monolith app backend + frontend or they write 2 apps, 1 backend api and client app( that can also be a mobile app)

    • @RaldinCasidar
      @RaldinCasidar 2 ปีที่แล้ว +4

      I am the second one lol

    • @professor_ozzy
      @professor_ozzy 2 ปีที่แล้ว

      @@RaldinCasidar Platform?

    • @RaldinCasidar
      @RaldinCasidar 2 ปีที่แล้ว +3

      @@professor_ozzy Depends on my clients. Somethimes I use PHP Backend API and VueJS for FrontEnd. Sometimes NodeJS Backend API and VueJS FrontEnd. Sometimes my frontend is an mobile app.

    • @ychinamale
      @ychinamale ปีที่แล้ว +1

      ​@@RaldinCasidarWhat factors usually push you towards PHP instead of Node JS? And what factors send you the other way? Asking because I'm actually in a situation where I need to pick between PHP and Node JS for a project.

    • @RaldinCasidar
      @RaldinCasidar ปีที่แล้ว +5

      @@ychinamale the factors that tells me which language to pick is the hosting, traffic and complexity of the project. I prefer NodeJS when I want to ship a serverless backend application that is not very complex and have and a project that I expect to have a large traffic. I use PHP if the project is big and complex, for example, a company's internal operation system. I use Laravel for organizing complex projects.

  • @PandaNuker
    @PandaNuker 2 ปีที่แล้ว +2

    friendly reminder to all ppl who say "i dont have good equipment, no good lighting, etc. so i cant make it" this absolute unit just proved you wrong. with chopsticks and a 420p cam.

  • @codewithguillaume
    @codewithguillaume 2 ปีที่แล้ว +1

    My friend this is an amazing video.
    Nextjs is growing up so much! Thanks to Theo also.

  • @hithaishig9670
    @hithaishig9670 5 หลายเดือนก่อน +1

    I just got carried away, watched the entire video and this is the first time I'm commenting on TH-cam. Pure perfection, throughout the video! hats off senor 🧢

  • @wayne_logan
    @wayne_logan ปีที่แล้ว +7

    Next JS 13.4 introduces streamable API responses, much like how the OpenAI API streams data. So, in my very amateur perspective, Next JS's statelessness is no longer a plain and simple wait-till-the-end

  • @efkastner
    @efkastner 2 ปีที่แล้ว +22

    I like where this was going but it ended abruptly :). I’d love to hear more about the frameworks that are allowing you to do the side effect work ergonomically. In the past, I’ve done one of 3 things:
    1. Early on or when it’s likely there will only ever be a few events, use a simple background job / delayed job system (resque, beanstalk, etc)
    2. When there is a rich set of transformations or systems concerned with events: a fancy message bus / durable queue (kafka, MySQL magic, etc)
    3. My favorite: when you don’t care about delivery guarantees - UDP! (StatsD ;))

    • @siya.abc123
      @siya.abc123 2 ปีที่แล้ว +2

      Any framework that doesn't run on "the edge" is perfectly fine.

  • @SandraWantsCoke
    @SandraWantsCoke 2 ปีที่แล้ว +12

    I agree! It's like using chopsticks instead of a fork and a knife for holding a mic!

    • @devagr
      @devagr  2 ปีที่แล้ว +9

      Boy you're gonna love my video on microservices

    • @JM-st1le
      @JM-st1le 3 หลายเดือนก่อน

      😂

  • @CH-tv1cy
    @CH-tv1cy ปีที่แล้ว +6

    For most web apps next js backend is fine. For the application im building it doesnt really work.
    Its simply easier to do with a custom express server, which is easily integrated with next js. The app im building has a lot of complexity on the backend.

  • @undefinednullblank
    @undefinednullblank 2 ปีที่แล้ว +53

    Awesome lessons with great visual example that really helps with following the content. You put what I have been thinking about in such great wording and figures.
    Nextjs is good if you have a simple backend to support the main thing that is your frontend, but if complexity is in the equation, you are better off using more dedicated tools. Nextjs is full-stack yes/maybe, but an unbalanced full-stack, like how Django focuses more on the backend, and only gives limited frontend options through templating

    • @tapank415
      @tapank415 2 ปีที่แล้ว +2

      Ya, But there's DRF & Fastapi also, which you utilize if you want to work with js frontend.

  • @gabriel_mj
    @gabriel_mj ปีที่แล้ว +3

    What would be a good example of a backend/business logic heavy application? Like the one at 5:03

    • @devagr
      @devagr  ปีที่แล้ว +1

      If you keep watching a little more, I recommend Nestjs for backend heavy applications.

    • @TheBendixSA
      @TheBendixSA ปีที่แล้ว

      @@devagr Think you misread his question

  • @lucidmach
    @lucidmach 2 ปีที่แล้ว +14

    nextjs is pretty teriible for any backend system that requires real-time communication (especially websockets)

    • @devagr
      @devagr  2 ปีที่แล้ว +7

      Yeah but for that you just use a 3rd party service

    • @PapaVikingCodes
      @PapaVikingCodes 2 ปีที่แล้ว +3

      I love next js in the toolkit, it’s super fast to spin up and intuitive and the ergonomics are amazing. But schedule something, you shall not!!!! Mahahahha.

    • @arivanhouten6343
      @arivanhouten6343 2 ปีที่แล้ว +2

      We are using nextjs with web sockets that communicate from a service to the nextjs backend and from there to the client. It's terrible but porting now would be difficult. Gotta look more at full stack frameworks.

    • @lunacraftsdaily
      @lunacraftsdaily 2 ปีที่แล้ว +1

      @@devagr Is there any alternative to nest.js & next.js?

    • @armanamini1450
      @armanamini1450 ปีที่แล้ว +1

      Next.js is pretty terrible for anything

  • @SuperMBARutgers2013
    @SuperMBARutgers2013 2 ปีที่แล้ว +1

    One of my favorite videos already

  • @foreach1
    @foreach1 2 ปีที่แล้ว +6

    Good point. What I do is that i don’t deploy on vercel (since lambda stop after responding) but I deploy on google appengine instead. I wrote many “fire and forget” functions. That’s not ideal but that’s the price I’m willing to pay for using the amazing t3-stack lol

  • @Beny123
    @Beny123 ปีที่แล้ว +3

    Great content . Goes to show how thoroughly we need to think before developing software .

  • @lucidmach
    @lucidmach 2 ปีที่แล้ว +26

    the best use of chopsticks ever 🔥🤣

  • @Nothank1997
    @Nothank1997 หลายเดือนก่อน

    Two years later, this really helped me understand that SSR doesn’t mean that nextjs is a backend technology :(
    ORMs like prisma really got me confused lol

  • @animeshraj1261
    @animeshraj1261 ปีที่แล้ว +3

    numbers on socials don't define one's capabilities, loved the explanation.

  • @aldomeza-dev
    @aldomeza-dev 2 ปีที่แล้ว +2

    Absolutely brilliant content, keep up the good work! 🙌🏻

  • @orlvni
    @orlvni 2 ปีที่แล้ว +2

    fair point, theo is a more frontend dev though, so he might not address these kinds of more server apps

  • @siya.abc123
    @siya.abc123 2 ปีที่แล้ว +7

    Got wrecked when I tried to implement background jobs in Nextjs.
    I moved back to .Net core.

    • @anton9410
      @anton9410 ปีที่แล้ว

      I am new to this concept, would you please elaborate a little on this?

  • @EldorJ10
    @EldorJ10 2 ปีที่แล้ว +2

    This is great, I really learned something from this video.

  • @atharva1237
    @atharva1237 ปีที่แล้ว +1

    Thanks for clearing a bit of confusion

  • @Bernd2023
    @Bernd2023 2 ปีที่แล้ว +2

    Good points! And I watched till the end to see if you eat that sushi or not 😂

  • @Sanjay-hz2rz
    @Sanjay-hz2rz 2 ปีที่แล้ว +5

    Hey mate, that was a great video, but could you please clarify on the mental model for the stateful early return with other side effects being processed after

  • @spageen
    @spageen 11 หลายเดือนก่อน +6

    please don't eat the mic

  • @raveena.sharma
    @raveena.sharma 4 หลายเดือนก่อน +1

    Can we use Django + React + Nextjs for building a KMS with bi-directional linking + advanced searches at the front end while saving data at the backend?

    • @Nobody-eg4bi
      @Nobody-eg4bi 13 วันที่ผ่านมา

      you can use Django, Nextjs, Prisma with Mongodb or Postgres but if performance critical i will go with Fastify than Django.

    • @raveena.sharma
      @raveena.sharma 13 วันที่ผ่านมา

      @@Nobody-eg4bi Thanks

  • @lahcencodery
    @lahcencodery 2 ปีที่แล้ว +5

    I assume that applies to svelte kit, nuxt and other metaframeworks

    • @arianitonline8748
      @arianitonline8748 2 ปีที่แล้ว +2

      I think not really. there are few that allow you to work with backend. like remix js or fresh for denojs. those frameworks sell themselves as full stack frameworks, and when you write the code, they know what is front end and what is backend. but I would always use a dedicated backend framework for the backend and keep things separated

  • @lohitaksha244
    @lohitaksha244 2 ปีที่แล้ว +6

    Wow those chopstick skills 😂

  • @a7zz
    @a7zz 2 ปีที่แล้ว +1

    Good vid happy my algorithm recommended you!

  • @saikk5710
    @saikk5710 2 หลายเดือนก่อน

    You could write a global /init API that automatically does user initialisation processes when they are using the app for the first time. With your example, it might take a small portion of time to resolve all those stuff.
    Additionally, things you mentioned may be some examples, you might have some complex initialisation processes, which will not work out with the /init API concept.

  • @TheIndianOutcast
    @TheIndianOutcast ปีที่แล้ว +1

    Dude I saw the chopsticks... I know you the guy who knows everything. 😂😂😂

  • @andre-le-bone-aparte
    @andre-le-bone-aparte ปีที่แล้ว +1

    Just found your channel. Excellent Content - Another sub for you!

  • @rickr937
    @rickr937 2 ปีที่แล้ว

    Wow, what a great explanation of all the components of an app. Please more of these :)

  • @prakhargdev
    @prakhargdev 4 หลายเดือนก่อน

    Your explaination was great man helped me clear all doubts

  • @crossfade7112
    @crossfade7112 10 หลายเดือนก่อน +2

    0:35 little up and coming content creator 💀

  • @al3030
    @al3030 2 ปีที่แล้ว

    Makes sense! Good visuals and insightful content

  • @dunebuggy1292
    @dunebuggy1292 2 ปีที่แล้ว +4

    This is a great video to break from the myopia that often mires developers; the one great thing they use being the holy grail for all things. I find Theo interesting as a new viewer, I just disagree with his toolbox. For small teams with a natural limit of complexity, it makes sense. As you said, these would typically be environments in which side effects are minimal or predictable. But, quite imaginably, the ability for his preferred stack to scale considerably has obvious flaws.

  • @sumitwadhwa8823
    @sumitwadhwa8823 ปีที่แล้ว

    Honestly if I were starting out on a new small sass project, I wouldn't worry about having a separate backend. I'd just get started.

  • @fahimmuntasirniloy
    @fahimmuntasirniloy ปีที่แล้ว

    Immediately subscribed, very clear concepts 💯

  • @vanduirsantana
    @vanduirsantana ปีที่แล้ว

    As we would say here in Brazil: o maluco é brabo!
    Excellent content

  • @sudhanshukushwaha6351
    @sudhanshukushwaha6351 ปีที่แล้ว +1

    I think node js with express is really good for writing the backend for the application where a lot of backend code gonna use.

  • @rboes208
    @rboes208 ปีที่แล้ว

    Yes exactly thank you!

  • @texoport
    @texoport 2 ปีที่แล้ว +16

    I just use React with Vite and Express on the backend and tRPC as the glue. I serve my frontend through Firebase hosting (no real reason) and it works alright. I used Nest before, especially because I thought its' abstractions over job queues and that sort of thing would help, but it felt very limiting. I spent a weekend porting my platform to Next, just for the heck of it, and it unfortunately made things a lot worse on the backend side of things.

    • @nadavlev4534
      @nadavlev4534 2 ปีที่แล้ว +1

      What limitations did you encounter with nest?

    • @uziboozy4540
      @uziboozy4540 2 ปีที่แล้ว

      I'd suggest having a look at Deepkit RPC

    • @zqzz2666
      @zqzz2666 2 ปีที่แล้ว

      What use cases of RPC? and when do you need it?

  • @Cameron-hs5ry
    @Cameron-hs5ry 6 หลายเดือนก่อน

    I saw the Theo vid on Next and tried it out, the idea of being able to just await fetch inside my components sounded nice since I was new to React and was working to convert my node js CLI project to have a proper UI. Then I learned what stateless actually means when I spent a few hours debugging why a bunch of Classes that get instantiated in Request 1 are undefined when running Request 2.... I just feel like if your requests are anything beyond basic crud operations with a high need for static generation then next will be more trouble than its worth

  • @sockeyes51
    @sockeyes51 2 ปีที่แล้ว +1

    This was good. I hadn’t put that much thought into backend from NextJS vs other platforms. My apps have been more simplistic applications that do more front end work so NextJS has worked pretty well for me. But if I was doing something that didn’t have front end in there I wouldn’t be using NextJS but doing something else that handles just back end and handles it very well.
    This was good, thanks for sharing this. :D

  • @quelchx
    @quelchx 2 ปีที่แล้ว

    Finally. Thank you for this video.

  • @brettstoddard7947
    @brettstoddard7947 2 ปีที่แล้ว +2

    thank you for recommending Nest -- I'll have to check it out!

    • @lunacraftsdaily
      @lunacraftsdaily 2 ปีที่แล้ว +6

      I don't want to call it horrible, but in my opinion It's horrible.

    • @taveirinha1337
      @taveirinha1337 ปีที่แล้ว

      Nest has its purpose in things like, running scheduled tasks, web scraping, among other things that don't need thousands of users hung up consuming resources.
      And yes, it will be very useful in these cases, you are not always interested in building the next facebook/instragram, if that was your intention, surely a javascript framework for the backend would not be the best choice.
      If this answer is incomprehensible, please forgive me, it's a translator tool

  • @adimardev1550
    @adimardev1550 2 ปีที่แล้ว

    i really do aggree with this guy. he knows what he is saying and it really make sense. most of theme don't talk like this guy. really helpful video.

  • @sixtyfivewatts65
    @sixtyfivewatts65 ปีที่แล้ว

    good video please finish the question . what is the best solution then , i know you said Nest but i want more answer to solve the problem .

  • @mitotv6376
    @mitotv6376 ปีที่แล้ว

    Nice breakdown

  • @adisonmasih
    @adisonmasih ปีที่แล้ว +1

    I Can totally trust a guy who holds his mic in chopsticks.

  • @real23lions
    @real23lions ปีที่แล้ว

    that chopstick caught me off guard. lol

  • @Vreth6
    @Vreth6 2 ปีที่แล้ว +1

    I like the video, was waiting for him to put that mic in his mouth the whole time though 😂

  • @MsBukke
    @MsBukke 2 ปีที่แล้ว +3

    I don't use next.js at work, but i do use a stateless backend and to solve the user registration problem i use a message queue, is it a bad idea?

  • @mehdi-vl5nn
    @mehdi-vl5nn 21 วันที่ผ่านมา

    i'm not sure about stateful comment u made tho what do u do - a task broker ?

  • @BGivo
    @BGivo 2 ปีที่แล้ว +1

    How would one define the differences between business logic and data logic? What are some examples?

  • @fereydounomar9048
    @fereydounomar9048 ปีที่แล้ว

    Thank you for this explanation … what would you recommend for a beginner working on an e-commerce website + mobile app ?

  • @FabrizioMarmitt
    @FabrizioMarmitt ปีที่แล้ว

    for me, the server your right for a web application is part of frontend. I would say next is a fullstack WEB framework. backend is something else that goes beyond web

  • @PapaVikingCodes
    @PapaVikingCodes 2 ปีที่แล้ว +4

    Looooool your going places my dev friend

  • @karnellschultz6446
    @karnellschultz6446 2 ปีที่แล้ว

    Thanks for the video mate

  • @donnybystrom
    @donnybystrom หลายเดือนก่อน

    Yes you can. You can also hammer a nail with a drinking glass.

  • @hosseinnajafi2181
    @hosseinnajafi2181 2 หลายเดือนก่อน

    Greate video, thank you 🙏

  • @danvilela
    @danvilela ปีที่แล้ว

    Bro kept his hand up for almost 10 minutes to make a joke with the mic lol 💀

  • @MaheshwaranVelusamy
    @MaheshwaranVelusamy 2 ปีที่แล้ว

    Nice to know... Thanks mate

  • @jason_v12345
    @jason_v12345 ปีที่แล้ว

    You absolutely can perform side effects without the end user having to wait. Just leave the await keyword out of the statement that initiates the side effects and synchronously call res.end().

  • @himesh_89
    @himesh_89 2 ปีที่แล้ว

    Great, watch.
    i like the background music..!! Can you share the link?

  • @runonce
    @runonce 2 ปีที่แล้ว +1

    I don't see the problem on running async tasks without awaiting them on getServerSideProps and such 🤔

  • @KAREKINFPV
    @KAREKINFPV ปีที่แล้ว

    This is a great video, what would you recommend for building a backend that can manage users who register on the front end as well as setting user levels on the backend. Currently I'm trying to focus on react only for this, but there doesn't seem to be much information on user levels for front vs back end logins. Thanks so much!

    • @devagr
      @devagr  ปีที่แล้ว +1

      Doesn't sound like a complex backend, Nextjs should be enough
      Also for users stuff I would recommend checking out clerk.dev, you don't need to build registration and user levels on your own

    • @KAREKINFPV
      @KAREKINFPV ปีที่แล้ว

      @@devagr thats amazing! Thanks for the fast reply my friend!

  • @GBlunted
    @GBlunted ปีที่แล้ว

    I like this... Makes sense to me!

  • @inmosh
    @inmosh ปีที่แล้ว

    But how do you solve this problems with other frameworks like Django? You still call async tasks on request if you need something done in background. You use 3rd party lib like Celery.

  • @Fanaro
    @Fanaro ปีที่แล้ว

    Nice video, cool implicit explanation of stateful vs stateless APIs. But I think Theo addresses this Next.js problem with the tRPC part of his stack, doesn't he?

  • @RaulTavares
    @RaulTavares ปีที่แล้ว +1

    Hard to follow with the background 'music'...

  • @EthanStandel
    @EthanStandel 2 ปีที่แล้ว +3

    I would argue that the registration example you gave was a little shaky. If a user attempts to register and sending the email fails, I think you should bail on the whole operation and tell them that it failed. Otherwise they're going to get a UI that tells them: hey look out for that email you're totally going to receive... but they'll never get it. And because of that, I don't really consider them side effects of the registration process at all. I consider them to be core elements of that flow.
    And I think the other thing Next solves for you (if you deploy to Vercel or Netlify) is a scalable backend model. Yes, it has the limitations you described, but those limitations are to support it's scalability.
    But otherwise, I found this to be a thoughtful take.

    • @heroe1486
      @heroe1486 2 ปีที่แล้ว +1

      Most people talk about scale while not even getting high traffic, and Vercel/Netlify aren't doing extraordinary things backend wise that you couldn't do yourself to "scale", their marketing is good tho.
      Any "old school" backend framework deployed on a vps can handle a massive amount of concurrent requests, and one could also deploy as a docker image to a similar "PaaS" with the same DX as Vercel/Netlify.
      And if one really wanted to "scale" and just swear by numbers he would just choose something else than React/Next and wouldn't even use Node.

    • @EthanStandel
      @EthanStandel 2 ปีที่แล้ว

      @@heroe1486 I do agree with you over all. But Vercel/Netlify make it moreso just something that you don't really have to worry about. But yeah, for any startup, servers are fine and you can get the same deployment experience with something like Digital Ocean App Platform.
      But making the kind of scalability and performance offered by Vercel/Netlify is actually a major pain. I've worked for companies that deploy frontend SPAs to S3 and backends to Lambda's hooked up to API Gateway and frankly the environments are rough and there's so much custom code that is incredibly fragile and the code itself and the way it gets deployed is constrained and manual. It's all just really rough in comparison to modern "out of the box" stuff.

    • @anton9410
      @anton9410 ปีที่แล้ว

      @@heroe1486 what would you suggest to use instead of React/Node in this case?

  • @Dext-err
    @Dext-err ปีที่แล้ว

    So? Any alternatives

  • @BlurryBit
    @BlurryBit ปีที่แล้ว

    omg chopstick mic!! Approved!

  • @sujezz
    @sujezz ปีที่แล้ว

    This is actually useful information. This should be talked about way more instead of blindly promoting false solutions. Frontend frameworks are not backend nor fullstack.

  • @nathangwyn6098
    @nathangwyn6098 3 หลายเดือนก่อน

    Chopsticks to hold your mic.... okay

  • @parihar-shashwat
    @parihar-shashwat ปีที่แล้ว +4

    I think if you want a piece of mind, then you should always go for batteries included framework. One of my favourite framework has been Laravel from last 8 years.

  • @cariyaputta
    @cariyaputta 2 ปีที่แล้ว +2

    What if we combine Nest and Next? Do they sufficient?

    • @leonmkch
      @leonmkch 2 ปีที่แล้ว +2

      More than sufficient i would say

    • @taveirinha1337
      @taveirinha1337 ปีที่แล้ว

      Nest has its purpose in things like, running scheduled tasks, web scraping, among other things that don't need thousands of users hung up consuming resources.
      And yes, it will be very useful in these cases, you are not always interested in building the next facebook/instragram, if that was your intention, surely a javascript stack for the backend would not be the best choice.
      If this answer is incomprehensible, please forgive me, it's a translator tool

  • @yasserhy
    @yasserhy ปีที่แล้ว

    Can you use NextAuth in NextJS to sign in with Google then pass the session to JestJS to also authorise the user there to be able to use NestJS guards? I can't find any tutorials about this at all

  • @sparkmediax9705
    @sparkmediax9705 ปีที่แล้ว

    I am only going to use nextjs for frontend and use their server side rendering for simple marketing home page. The core API surely would be written in expresjs on Nodejs runtime. I am not interested in nextjs backend.

  • @rajnishsrivastava4231
    @rajnishsrivastava4231 2 ปีที่แล้ว +2

    Theo talked about you in Next Conf

    • @devagr
      @devagr  2 ปีที่แล้ว

      You mean in his session?

    • @rajnishsrivastava4231
      @rajnishsrivastava4231 2 ปีที่แล้ว

      Yes in his session. Next js is backed famework

    • @devagr
      @devagr  2 ปีที่แล้ว

      Oh I know about that

  • @vishalsinghpanwar2972
    @vishalsinghpanwar2972 ปีที่แล้ว

    nextjs and spring boot have saimilar syntax..........any idea which is better?

  • @13odman
    @13odman 2 ปีที่แล้ว

    Great visuals

  • @Mobilemaniaplays
    @Mobilemaniaplays ปีที่แล้ว

    Bro can I work with you, I can do frontend part and I am currently learning backend part

    • @devagr
      @devagr  ปีที่แล้ว

      dm me on twitter @devagrawal09

  • @toshitsingh7270
    @toshitsingh7270 2 ปีที่แล้ว

    That was a good explanation 👏

  • @yadullahkurt2189
    @yadullahkurt2189 ปีที่แล้ว

    thanks sensei

    • @yadullahkurt2189
      @yadullahkurt2189 ปีที่แล้ว

      Which technology should I choose for the back end with React? MERN stack is good?

  • @hussein7859
    @hussein7859 2 ปีที่แล้ว +3

    I feel like next video you'll be putting the mic in a test tube...

    • @devagr
      @devagr  2 ปีที่แล้ว +1

      Thanks for the idea lol

  • @ziacodes
    @ziacodes 2 ปีที่แล้ว

    Can you tell me how to upload nextJS App to our own node server? not vercel or any other third-party. because I added but I got issues...

  • @heroe1486
    @heroe1486 2 ปีที่แล้ว

    Currently using Django+DRF and Next but planing to go full NextJS for productivity and type safety ... couldn't one just reproduce what is doable with a regular express server but with NextJS API routes ? What's the limiting factor here ? API routes being deployed as serverless lambda functions ? Couldn't one just not deploy on Vercel and thus have a stateful backend ?

    • @devagr
      @devagr  2 ปีที่แล้ว

      The main point was not just about Serverless functions, but also about how much the framework helps you when dealing with complex logic. Even a regular express server is not enough on its own when you are have a lot of stuff because express ONLY gives you http capabilities. If you just use express or next when writing complex backends you will basically end up recreating a lot of the patterns that frameworks like Nest provide out of the box.

    • @cpc4466
      @cpc4466 2 ปีที่แล้ว

      @@devagr that's my exact concern even custom express server with nextjs won't be enough , if backend grows in complexity. What could be the limiting of using express even though you can work around many things with a wrapper ?

  • @dontignore5567
    @dontignore5567 8 หลายเดือนก่อน +1

    chopsticks se mic pakarta hu, Kool laguga
    T ki jagah pe TH bolta hu, Accent jhad ke Extra Cool laguga

  • @lowzyyy
    @lowzyyy ปีที่แล้ว

    Thanks for this. I built only 2 small projects in my short dev career and both need heavy backend which is constantly doing something. Express or pure node js was ok solution to this
    I learned that next js is completely useless for this use case although i tried so hard to make it work. From all that features i only used router lol