The Most Efficient Next.JS 14 Beginner Tutorial (TypeScript, App Router, React Server Components)

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ธ.ค. 2024

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

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

    Good news: My big Next.js course has just received an update to the new app router. Check it out: codinginflow.com/nextjs

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

    Easily one of the best introduction videos to Nextjs 13 I've seen. I love how you explain the different concepts, your explanations are so clear and to the point as well as nicely verbose. 👍

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

      Thank you man, glad you liked it!

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

    Just completed the whole course and believe me this is the best beginner tutorial for the latest NextJs. Everything is explained in very detail and this course really taught me so much in such a short amount of time. The only problem that I faced was with the last section(Client Side Rendering), I think I need to learn about CSR in a bit detail. Thank You Coding In Flow🙏🙏❤❤

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

      Thank you for the kind words 😊 We use more CSR in my MERN beginner course (which uses vanilla React)

  • @LukeRoberts1979
    @LukeRoberts1979 8 หลายเดือนก่อน +2

    Somehow you explained the process so my brain just understood everything with very little to no stress, absolutely perfect tutorial!

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

    I've just finished the project. This is literally THE BEST NEXTJS tutorial in the internet so far!!! 💯F
    (And possibly the only one on the UPDATED version of NEXT - 13.4)
    From my two years of self-learning programming , your channel is the easiest to understand and follow.
    I'm so grateful to find your channel! Thank you so much for your hard work, Sir.
    Please, keep it up!
    PS: I will definitely check your MERN course as well as your paid course! One loyal follower has just been earned 😊

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

      Thank you! I was hoping to get this kind of reaction from people 😁

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

    Everyone give this man a like & sub; truly one of the best teachers on YT.

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

    Florian, thanks a lot! I have been reading documentation of next.js last couple of days, and now the way you put things together start making more sense. I first wanted to start watching that Learn Next.js 14 Server Actions video, but thought maybe I should give it a try to watch this video and did not regret for a sec!

    • @codinginflow
      @codinginflow  9 หลายเดือนก่อน +1

      Yea this one is a good starting point! Glad you liked it!

  • @Iamhere-em2us
    @Iamhere-em2us ปีที่แล้ว +2

    Great job man. Lots of credits from India 🎉😊

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

    Thanks a lot!
    found you when I was learning Unity through your 2D Platformer Playlist, Now all my Web Dev Searches on "Nexts How to - Coding in Flow"
    Thanks a lot for your easy and fun tutorials!
    Regards

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

      Thank you bro 👍🏻

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

    Very well presented. Thanks for the free course and content. You have a great talent for explaining the intricacies of the topic.

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

    "It's not beautiful, but it works, just like me", come on man, you have your own special beauties ... 💕

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

    Awesome stuff man, inspired me to purchase your Next/Express/TS course! Will go through that when it is updated for Next 13, this was SUCH a good tutorial

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

      Thank you! I'm working on the update right now. We refactor the project from the pages to the app router so the course will teach both approaches (which I think is useful).

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

    sincerely, thank you very much! I didn't know your channel, I'm halfway through the video and I'm already grateful and subscribed of course :-)
    I've been using Nextjs 13 for months and I didn't have the cache issue as clear as it is now, thanks again!

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

      Thank you for the kind words 😎 Makes me happy to hear

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

    I was looking for a video for my mentee, this is the absolute best on youtube.
    Good work !

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

    Thank you for your patience

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

      Thank you for watching 😎

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

    thank God I found this channel. thank you sir. you made live easy for people like me

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

      Thank you very much! Happy to hear that!

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

    I am always happy when I get a new video from this guy...I really like the way he teaches

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

    I really love your tutorial bro, did you know among all the video tutorials here in TH-cam, only your tutorials I am able to complete the code.

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

      Gotta cache ‘‘em all

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

      I'm happy to hear that bro 💚

  • @JamesBrown-nz1ow
    @JamesBrown-nz1ow ปีที่แล้ว +2

    Well well done, jjust finnished your tutorial, and found it amazing, was really insightful and easy to follow along. Thank you for all the work you have put in. it was especially helpful to learn about nextJS and API calls as well as caching, truly thank you. this has change my perspective and mind for the better... lets see more content cause this was awsome!!!

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

      I'm glad you like it 😊 I will make more Next.js tutorials

  • @ShrutiLatthe-u5s
    @ShrutiLatthe-u5s ปีที่แล้ว

    really well structured and good for beginners, this helped me to learn Next js
    Thanks, Florian Walther keep adding new things related to Nextjs

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

      Thank you for the kind words! I will

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

    Thanks a lot for this, I was struggling for days trying to find a way to do what you did on the client side fetching

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

      Happy to hear that! What were you struggling with?

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

      ​@@codinginflow I am working on a bus app and needed to use the Geolocation API that is only accessible client side. And I think i made the mistake of trying to use a server component in my client component to make the fetch request, and various combinations of that. Finally I started looking for how to set up routes and this explanation was the most thorough for 13.4v, I really appreciate you explaining each line of code. Had no idea that you could pull the params from a URL the way you did with Search Params. Is there a reason you did it this way instead of sending the params through the fetch API's body?

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

      @@El_Remolino19 Glad you liked it! I think reading the params in the route handler is simpler.

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

      @@codinginflow agreed, thanks again. Keep up the great work

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

    01:20:22 To show alt text for an image its better to use {image.alt_description}

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

      Is that part of the Unsplash model?

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

      @@codinginflow For me the value for image.description was showing empty. So when I looked into the image data, I show the description present on alt_description.

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

      @@pankajwp Alright, thank you!

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

      same for me! @@pankajwp

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

    This was so awesome!!! Very enjoyable. Very informative. THANK YOU.

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

    Thank you so much for the efforts. Just completed watching this and now this has cleared my concepts. Pls keep posting such content. 💯

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

    Thanks for the tutorial.
    At 41:15, I'm trying to display the error message (from the ErrorPageProps) by having {error} but tht doesn't seem to work...
    Is there a way to dispaly the error message on Error page (your "Bazinga" message) ?
    Thanks again for an awesome video

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

    Thank you very much. Very useful video for me. I'm your subscriber now. I'm look a lot of other nextjs videos, but understood it only in your. Make more videos, you is the best. PS. sorry for my english

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

      Thank you for the kind words 💚

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

    that was excellent ! , your teaching is amazing i will be sure to look at your paid courses.

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

      Thank you brother. Glad you liked it.

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

    Hey! At 1:29:27 , you have the alert and image in different lines. They are appearing next to each other for me. How can I resolve this?? I tried using the tag. No change. Thanks!

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

      I got it by wrapping it with another div.
      div className="d-flex flex-column align-items-center">
      {/* Adding margin bottom for separation */}

      This page fetches and caches data at build time.
      Even though the unsplash API always returns a new image, we see the
      same image after refreshing the page until we compile the project again.



      {/* Adding margin bottom for separation */}



      {/* No margin added here */}
      by {image.user.username}

  • @usemonocle-il
    @usemonocle-il ปีที่แล้ว

    thanks!!! solved me an issue that i was struggling with.

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

      What was your issue?

    • @usemonocle-il
      @usemonocle-il ปีที่แล้ว

      @@codinginflow how to import ui library (chakra-ui) that needs "use client" without creating a wrapper for each component, almost degraded to pages router because of that

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

      @@usemonocle-il Glad it helped 😊

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

    At 1:24:58 I cannot get it to work it says TypeError: fetch failed, I followed it exactly how you did it. Thanks man

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

      figured it out, my permissions in the API, but also now I just realised my workplace proxy is not allowing me to use the API?

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

    Man, no words. Thank you!❤

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

    Hi Florian, what VS Code plugin did you use to get that closing tag a different color ( 01:59:47 )?

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

      Highlight Matchin Tag I think

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

      @@codinginflowThanks for the prompt reply, but it's not it. I didn't get the effect

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

    Loved your teaching style brother. One of the best, I should say. When will you finish your updated course with the latest Technologies? Like Next Js 13.4, Tailwind, Shadcn UI, Zustand, mongoDb

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

      I will soon add an update where we convert the app of my Next.js course to the app router. We also use MongoDB. But I won't add any of these other technologies since they are not that important.

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

      @@codinginflow Maybe Ecommerce Website with these technologies instead.

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

    The course is good, but it utilizes hard refresh/navigation to display server-side updated data, which should not be necessary. If hard refresh is required to show the latest data from the server, then we could always use PHP.

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

      This is not my fault, this is a bug in Next 13

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

      @@codinginflow Is it possible for me to mix it with client-side fetching to get the latest data without the hard refresh?

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

      @@divadolleh Yes you can do that. Or use the pages directory for now. The app directory is still a bit buggy.

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

    Thank you - definitely worth watching

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

      Thank you, happy to hear that 😎

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

    I have a feeling your "/hell" route returning "NOT FOUND Sorry, this page does not exist" was very symbolic 😂

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

      Sounds like I misspelled hello 😅

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

    I found it to be incredibly informative.

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

    Hey, your tutorial is amazing, Will u make a tutorial on how to use on-demand revalidation in the next js please I am stuck in this..

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

      My next tutorial will contain revalidation inside server actions. Maybe that helps you!

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

    Just finished. thanks!

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

    great content bro keep it up 👍👍👍👍

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

    Love you for the awesome tutorial, hate you for the hamburger part 😅

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

      😅

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

      @@codinginflow I got question, i'm looking for few hours now but no results, i can't get the not-found page working with the layout :/ It simply display the not found page even if it is custom. Do you have any idea why ? I have next 13.4.10. Thank you !

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

    Great stuff 👏👏👏

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

    1:50:27 Florian . doesn't refer to the parent folder, .. is the parent folder, . is the current one

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

    I would request you to make new tutorials on these same topics for nextjs 15 because a lot has changed and I am having constant issues, the things you are explaining are perfect but some things have actually been changed, like the static caching, which has just very recently been changed and just make sense to me anymore as even my static page is dynamic when using 'npm run dev' and the difference is evident when we use 'npm run build' and 'npm run start'. So I was confused at first that do I even need to use 'revalidate' but I did (if anyone is wondering).
    Now I feel I can still understand it because I have some good level of prior experience and very good at using chatgpt, but maybe a beginner will face more issues

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

      Yea I'll make a new Next.js beginner tutorial soon 👍🏻

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

      @codinginflow yes, it's an awesome tutorial otherwise (awesome enough that I'm completing it even with these issues)

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

    For anyone who maybe seeing this after the release of nextjs 15 (firstly I recommend something I think I should have done but didn't which is that import nextjs version 13 instead of @latest).
    Problem 1: You will get an error when creating topics/[topic]/page.tsx, while using npm run build, because the 'params' should be imported as { params }: { params: Promise} and not as shown in the video.
    I am guessing this is something that changed in the newer versions where they are forcing you to use 'await' for getting params because it is being fetched from the route.
    And for getting topic from it you can simply destructure like this "const { topic } = await params;".
    I hope I don't have to post any other changes and actually I would say don't work with old versions of nextjs like I said above because you won't work with older versions in your actual projects and then won't understand these issues (but yes you can if you don't want challenges).
    Problem 2: export async function generateMetadata({ params }: { params: Promise }): Promise {
    const { topic }: PageProps["params"] = await params;
    return {
    title: `${topic} - NextJS 13.4 Image Gallery`,
    }
    }
    as you can see we have to return Metadata as a promise because we are using an async function and we are using an async function because of the issue described in problem 1.
    I guess I'll keep finding more of these conflicts and I'll keep writing the solution for them.

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

      Correct, this is pretty much the biggest change. It's pretty simple but confusing. I guess I have to make a new tutorial soon.

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

      ​@@codinginflow I have encountered an error in deployment on vercel, on my system, I am able to build without any errors but getting a lot of errors on vercel
      First I was getting one because of bootstrap version, that I fixed by changing the install command on vercel but after that I am getting errors in [topic]/page.tsx and isr folder as well and I'm sure if I had removed those another error might pop up, the errors are coming from .next/server/app/folder_name/page.js
      I think it's because of ts to js mapping
      Could you help me with the deployment?

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

    Your just Amazing bro thank you for you effort and Time to make high quality videos and tutorials thnx men 🤜🤛

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

      Thank you for watching ❤️

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

    thank you my friend

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

    Thank you buddy 😁
    You are doing a very good job.

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

    Your tutorial are great, I love them. I have a question will u make a 10 min video on on demand revalidation plzzz i can't find anywhere. Previous u make a short on on demand revalidation. Please make a detailed video on this plzzz

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

      What du you wanna know exactly?

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

      @@codinginflow I wanna know how on demand revalidation is different from background revalidation and how to implement in current version(in app router) of next js using validateByPath and validateByTag. And thanks for your response.

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

    Thanks. Definitely worth watching!

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

      Thank you 💚 Please let me know how you like the tutorial.

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

    you are the best 💯💯💯

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

      thank you bro

  • @РоманРмериев
    @РоманРмериев ปีที่แล้ว

    Спасибо разработчикам Yandex & YaGPT за предоставленную услугу по переводу видео-роликов на TH-cam и не только. Благодаря данной функции, я смог в более четком и понятном формате ознакомиться с этим потрясающим и очень подробным описанием Next 13. Успехов автору в сфере обучения!

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

    I'm wondering if you can help with a problem I'm having? I've gotten through making the static page but when I refresh it always gets a new pic and there's an error in the terminal I will paste below. I tried downloading your code and it works. Then I replaced my package.json with yours, deleted node_module and package.lock and reinstalled. Didn't fix. So replaced essentially every file with what's in your version and it still didn't fix. So I'm at a loss right now. Here's the error I keep getting:
    Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /Users/eleerogers/Documents/code/image-gallery-nextjs/node_modules/react-dom/package.json
    at new NodeError (node:internal/errors:405:5)
    at exportsNotFound (node:internal/modules/esm/resolve:259:10)
    at packageExportsResolve (node:internal/modules/esm/resolve:589:9)
    at resolveExports (node:internal/modules/cjs/loader:571:36)
    at Module._findPath (node:internal/modules/cjs/loader:645:31)
    at Module._resolveFilename (node:internal/modules/cjs/loader:1058:27)
    at /Users/eleerogers/Documents/code/image-gallery-nextjs/node_modules/next/dist/server/require-hook.js:180:36
    at Module._load (node:internal/modules/cjs/loader:925:27)
    at Module.require (node:internal/modules/cjs/loader:1139:19)
    at require (node:internal/modules/helpers:121:18)
    at /Users/eleerogers/Documents/code/image-gallery-nextjs/node_modules/next/dist/server/app-render/app-render.js:955:37
    at /Users/eleerogers/Documents/code/image-gallery-nextjs/node_modules/next/dist/server/lib/trace/tracer.js:155:62
    at /Users/eleerogers/Documents/code/image-gallery-nextjs/node_modules/next/dist/server/lib/trace/tracer.js:113:36
    at NoopContextManager.with (/Users/eleerogers/Documents/code/image-gallery-nextjs/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:7057)
    at ContextAPI.with (/Users/eleerogers/Documents/code/image-gallery-nextjs/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:516)
    at NoopTracer.startActiveSpan (/Users/eleerogers/Documents/code/image-gallery-nextjs/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:18086)
    at ProxyTracer.startActiveSpan (/Users/eleerogers/Documents/code/image-gallery-nextjs/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:18847)
    at /Users/eleerogers/Documents/code/image-gallery-nextjs/node_modules/next/dist/server/lib/trace/tracer.js:102:107
    at NoopContextManager.with (/Users/eleerogers/Documents/code/image-gallery-nextjs/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:7057)
    at ContextAPI.with (/Users/eleerogers/Documents/code/image-gallery-nextjs/node_modules/next/dist/compiled/@opentelemetry/api/index.js:1:516)
    at NextTracerImpl.trace (/Users/eleerogers/Documents/code/image-gallery-nextjs/node_modules/next/dist/server/lib/trace/tracer.js:102:32)
    at /Users/eleerogers/Documents/code/image-gallery-nextjs/node_modules/next/dist/server/lib/trace/tracer.js:155:31
    at wrappedRender (/Users/eleerogers/Documents/code/image-gallery-nextjs/node_modules/next/dist/server/app-render/app-render.js:1006:62) {
    code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
    }

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

      Did you google the error message?

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

      ​ @codinginflow I did. One person suggested using an earlier version of Next, which I tried but it didn't work, and then it worked using your version, so that's wasn't it. Then someone else suggested putting "__NEXT_PRIVATE_PREBUNDLED_REACT=next" into the .env file, which I tried and then I got a different error message. It says something about a problem with useCallback and:
      Warning: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
      1. You might have mismatching versions of React and the renderer (such as React DOM)
      2. You might be breaking the Rules of Hooks
      3. You might have more than one copy of React in the same app"
      I investigated those ideas but didn't find anything.
      BUT more recently I tried adding that line again since I've copy and pasted all your files individually into my project and now I no longer get the error message, but when I refresh the page I always get a new picture, which of course isn't what's supposed to happen.
      This might be unrelated, but I also noticed in the browser console I was getting an error saying the alt tag was missing from the image, even though I had alt set to image.description. I tried changing that to a random string and the error went away, so I think image.description is undefined for some reason.
      Any ideas are much appreciated!!

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

      @@codinginflow Ok I figured out for whatever reason the problem only occurs when chrome devtools is open, and it occurs in your code as well. I downloaded both the version of your repo that was where I'm up to and your final code and both give the same errors when the devtools/console is open, but work fine when it's closed. Would you mind confirming that you get the same errors on your end when devtools is open?
      P.S. This is only on 'run dev', not after using 'run build' > 'start'. No errors come up using the build.

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

      @@Royale3533 Just noting that I am also seeing this error and it does seem to be present only when the chrome dev tools drawer is open. I'm running node v18.16.0. Chrome is v119.0.6045.159 and the error is present even when opened in an in-cognito window (without further chrome extensions running).
      Edit - Just noticed that the error appears in the video too: th-cam.com/video/fqfer6xMp2A/w-d-xo.htmlsi=U3Ald75PZjdi3kld&t=7550

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

    I am trying to create a PWA where next-pwa requires web pack. When I try the SSRProvider and Container on the layout.tsx, it gives me an error of:
    TypeError: Cannot read properties of undefined (reading 'call') within Webpack.js
    Is there a fix for this?
    I used the bootstrap.tsx file in components in the src directory

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

    The fact that I can't see the spinner when trying to demo "generateStaticParams" makes the feel worried about the stability/reliability of App Router. Seems like Page Router is still more reliable at this moment.

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

    great video, im loving the course youre a beast, one question tho, its ok to make the funcions as arrow functions on the export? im used to do arrow and works, but theres a down side to it?

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

      That's completely fine. I just prefer the function keyword.

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

      @@codinginflow thank you, keep up with the good work

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

    Truly amazing job!
    Saludos amigo!!

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

    Hlo sir can we use server components inside a client components I am using useref in sidbar inside sidebar i rendering a another user profile component using getserversession next-auth user info is it secure, sometimes I got error unhandle error server error.

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

    Awesome course

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

    Thankyou buddy , You are amazing!

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

    Very cool stuff. thank you very much. I think the route.tsx should be route.ts.

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

    thank you for your effort !

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

    what is the justification for using next/navigation for the appRouter hook and not next/router?

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

      next/router can only be used in the pages dir. In /app we have to use next/navigation.

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

      @@codinginflow thanks!

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

    Cache and next revalidate festures only works with the native fetch API and the export const revalidate is to be used if you prefer not to used the native fetch thats why they exist to answer your question as to why they are many types

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

      Right but there is still no-store, no-cache, and next { revalidate } all inside the fetch config

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

      @@codinginflow But they only works if you hard refresh the page. The Soft navigation just shows the already fetched image in dynamic page also, even after adding next { revalidate } or cache: "no-store" or revalidate = 0. This looks like a big bug here.

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

    Thank you for the great content... :D

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

      Thanks for watching brother

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

    Subbed!!
    Realistically would Next JS be used to build a backend, I use Nest JS in the day job which provides much better structure for the backend, maybe a monorepo with Next on the front end Nest on the backend would be a nice stack.

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

      You can totally do that. I have a project that uses Next.js with Express as the backend.

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

    What if i want to have the navbar on my home(/) page? But not on the not-found page

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

      use route groups, I have a Short on that

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

      @@codinginflowhi....thank you for fast reply(also i like your accent) but the group routing didn't work....i am trying to make the navbar display on root page.js but not display on root not-found.js and there need to be a root layout

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

      @@elvisdavinci2567 Put the root page into a route group together with a new layout.tsx that contains the navbar

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

    Hey! I was using your video on firebaseUI from 5 years ago as a reference and while making my app it works completely as intended but there is just one little issue... Whenever there is a shift of focus from the app i.e when I open another app and then reopen my app the recyclerview gives index out off bound error as a result of some inconsistency. Can you please help me?

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

    I'm using React-bootstrap elements in 2024 and it works fine without 'use client' and why? Did the update come out and now they are client components?

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

      Good question, I don't know

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

    Thank you very much. Appreciate it.
    But when I deploying in vercel, i got a Error.
    "TypeError: Cannot read properties of undefined (reading 'raw')"
    I think the error occurs because it doesn't read the exported interface, or because the variables don't seem to have any data when I build them.
    So I forked from your github (final-project branch) , and try to deploy vercel, but got a same Error.
    What should I do?? plase help me!!

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

      I found why this error occur.
      When deploy vercel, It does not recognize environment variables.
      So now, I'm finding the way how can i insert the environment variable to vercel.
      I don't think I can attach NEXT_PUBLIC because it's a variable used by serverside, what should I do?

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

      Solve this problem!
      Dashboad => Project Setting (...mark) => Environment Variables => Add My Variables And Saved it.
      And Redploy, it works!
      Thank you!!!

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

    hello florian one question...when i hard refresh a static page in development mode it shows new image is it normal..? by the way thanks for the video so grateful 🙏🙏

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

      Yes, in development you always get a refresh

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

    Thank you for this amazing course! Helped a lot.
    The google font family isnt applied to not-found.tsx page and only that page, but bootstrap styles and fonts are. Why?

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

      Are you using the latest version of nextjs or the one from the video?

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

      @@codinginflow im using 13.4.10

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

      @@TikTokTrendsCompilationyes I think thats a bug, basically not-found.tsx does not have layout.tsx as parent. you can give a classname to body in layout.tsx and inspect in browser but for it layout wraps loading.tsx

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

    Can I learn this without any experience with TypeScript yet? Just the basics on types and interface for now?

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

    Hi, thanks for this. I've got a question: in the last part of the video as much as I'm able to understand, you're using the Next.js's built-in server as a proxy between the actual server and our app. I was thinking could the same thing be achieved with server actions instead of creating a new route? As I understand, server actions open a window to the server and therefore by defining a server action, we can use it directly in a client component, right?

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

      Right, but server components also run on the server. Server actions are there to do mutations on the server in response to some user interaction. If we wanted to to search without client-side state, we would handle this via a URL param in a server component.

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

      Actually I think you're right, we could also use a server action to just fetch some data

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

    So appreciate it ❤

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

    Thanks florian

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

    Can anyone please clarify my one doubt.. so getStaticProps getServerSideProps not required?

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

      Not anymore. They are replaced for server components if you use the app dir.

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

    well done!

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

      Thank you!

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

      @@codinginflow just a suggestion, I think there aren't many authentication tutorials on nextjs 13, you may consider doing one

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

      ​@@gmoniava Check out my Next.js e-commerce tutorial, there we implement Next-Auth 👍

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

    If i want data to fetch each time i visit the route i need to use a client side component with useEffect?

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

      Because using no-cache only fetch data each time you reload the page

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

      That seems to be a bug currently and there are discussions about this on Github. We have to wait and see if they add hard reload to navigation.

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

      See: github.com/vercel/next.js/issues/42991

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

    bro when i use in my layout file i was get this comment on terminal
    ==> In React 18, SSRProvider is not necessary and is a noop. You can remove it from your app. and when i use react bootstrap accordion i am getting this error ==> \src\app\components\BootstrapReactComp.jsx#Accordion#Item" in the React Client Manifest. This is probably a bug in the React Server Components bundler.

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

      It's not a bug. You can remove the SSRProvider

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

    Using bootstrap makes this a little messy. But I like this video in general.

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

    Thanks a lot sir

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

      Let me know how you like it!

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

    Hi, can you make a next js 13.4 typescript i18next video?

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

    Can you make a course to teach us about css/bootstrap?

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

      What do you wanna see exactly?

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

      ​@@codinginflow as I found it hard to remember all the "css command(?)" and I saw in your video you seem remembered them effortlessly, I wonder if there is a systematic way to learn css? Or is it all about practice in some real-life projects?

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

      @@divadolleh Just practice I would say. I don't do anything else than just building stuff.

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

    Thanks, Why JS and not Spring (Kotlin)?

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

      because he is a web developer now, besides, even for kotlin spring boot is like cutting down a tree by bashing it with a sharp rock, instead of using an axe

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

      lmao

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

    man hört absolut deinen deutschen akzent aber sehr nices video bist nen cooler typ

  • @dee.s.4513
    @dee.s.4513 ปีที่แล้ว

    Text size needs to be enlarged. It is small even at full-screen.

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

      Are you watching this on a Gameboy?

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

    Cool. Can I get the Complete Source code

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

      The GitHub link is in the description

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

    How to get emoji in VS code

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

    Can someone assure me that I can follow this tutorial for next.js for till this time also ?....because this is next.js 13

    • @codinginflow
      @codinginflow  7 หลายเดือนก่อน +1

      Yes. There are no new APIs in Next 14.

  • @DhanagrahamTash-fc4le
    @DhanagrahamTash-fc4le 4 หลายเดือนก่อน

    After watching German content (mainly movies on Prussia ) for a fortnight I was thinking I was hallucinating as I heard a German accent but when I checked his location It was Germany //I was relieved that I was not hallucinating
    btw the thumbnail was no clickbait it was all in one

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

      Haha that's quite funny 😁

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

    Why you move from the android world to the js can you make a video about it you spent a lot of time in the android ecosystem so is it worth it . I want to make this transition not bc I hate android just i think about future and job security

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

      I'm considering making a video about it but I try to keep my channel focused on tutorials now

  • @ArisAris-fs1ip
    @ArisAris-fs1ip ปีที่แล้ว +4

    I fell in the trap of studying full stack JS. They are great tools, but they are excellent only to get a good employee job (in a small/medium company) or creating your own product based startup. That's all. For guys like me who want only to freelance, basic fullstack php unfortunately has the most opportunities. Php is dead for employee positions, for freelance it remains king.

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

      Interesting, thank you for sharing your experience. I thought Next.js is popular too for freelance dev.

  • @Muhammed-nani964
    @Muhammed-nani964 ปีที่แล้ว

    Cool

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

    Du könntest auch gut auf deutsch präsentieren!! :D

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

      Jo aber dann würden es sich nur 50 Leute angucken

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

    Can you do cs50X2023 course

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

      That sounds kinda boring tbh

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

      Thank for the reply but it would be helpful for non cs background

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

      @@SkullRFSYT I think there are already good sources for this

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

    I wish this tutorial was more approachable and was written with JS instead of TS, because I saw the intro and it sounds really detailed and great.
    Thanks anyway..

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

      Just bite the bullet and learn TypeScript. JS is not suited for any serious project.

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

      @@codinginflow
      But I couldn't find a TS Tuorials among your playlists 😐
      I'm seriously considering it, but every once and then there are arguments as well as prophecies - that TS isn't here to stay.
      I guess I should have adopted it already..

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

    Dear sir, me from pakistn, please create video in this video only development work no css .full stack next.js 13.4 backend post one click add title, description, or image or pdf file add then other post only video title desc or description or vide add. last signup or sign in page. create... in simple way

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

      I don't understand what you mean. Can you explain it?

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

    🙏👍

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

      Enjoy 😊

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

      @@codinginflow Please add it to the playlist; thank you!

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

      @@JMRVRGS Thanks for the reminder, I'll do it in a bit

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

    Thanks a lot!! the content is very helpfull :)
    Only your pronunciation makes it real hard to follow.

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

      Sorry!

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

      @@codinginflow no need to be sorry. Some people even prefer to be able to pic an accent. Some even love when germans talking english..or should we call it germlish?
      But if you wanna improve, I would suggest to listen an repeat english music or to watch movies in english. Also stop trying to pronounce words that u've never heard...the school system is just f**ked up in this case. Forcing pupils to read words they've never heard before..cows shit is what that is to me

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

      @@jamesleihe5689 I already consume everything in English 😅

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

      @@codinginflow good on ya :)
      Repeating things exactly the way I heard them worked pretty well for me, but we're all individuals.
      So sorry, I hadn't thought about that. What worked for me doesn't mean it will work for everyone.
      Please excuse me mate.
      And please don't get me wrong. I really appreciate your content! 🙏