Next.js App Router Crash Course (Server Components with Appwrite, Layouts, Suspense)

Поделиться
HTML-код
  • Опубликовано: 16 окт 2024

Комментарии • 20

  • @PJlikePajamas
    @PJlikePajamas Год назад +3

    This was extremely helpful to wrap my mind around the routing and file paths for next js

  • @Malloc110
    @Malloc110 Год назад +1

    thanks so much for this. just learning react and next.js for the first time and this explanation was so much more simple with respect to next.js than other resources I found online. sometimes you wonder if something is really complicated and then you just realize the explanations are poor. this however was a great explanation video! thanks again

    • @JamesQQuick
      @JamesQQuick  Год назад +1

      Wow, this is amazing to hear!! Glad it was helpful!

  • @areweinaloop
    @areweinaloop Год назад

    Hey, loved the video, But list of events on the side bar aren't updating on the production build? If you add new document on the database, it isn't showing up on the app.

    • @JamesQQuick
      @JamesQQuick  Год назад

      In my demo or in yours?

    • @areweinaloop
      @areweinaloop Год назад

      @@JamesQQuick In your code and in mine.

    • @JamesQQuick
      @JamesQQuick  Год назад

      @@areweinaloop Do you have a specific timestamp you're referring to? I just rewatched and I don't see a time where I added something to the db but it didn't show up?

    • @areweinaloop
      @areweinaloop Год назад

      ​@@JamesQQuick 25:20 The evetlist updates in developer mode, but if you try it in build version, the page is rendered as static page at the build time and wouldn't update later upon change in database. I had a similar issue and resided to converting the component to client side.

  • @GouravAmbekar521
    @GouravAmbekar521 Год назад

    How to pass additional data from one page to another page/server component. For example, There is a user object, the link href is based on user Id, along with user id how can i pass the User object without displaying the data in URL

    • @JamesQQuick
      @JamesQQuick  Год назад

      Hmm, I'm not 100% sure I understand the use case. One thing you can definitely do though is just query that user info on the server. You certainly wouldn't want to pass the user info in the URL. I believe you'd also be able to leverage stores on the frontend to share data as well

  • @pankajwp
    @pankajwp Год назад

    Does soft navigation gets the updated data from database in server component ?

    • @JamesQQuick
      @JamesQQuick  Год назад

      Do you mean when Next.js is prefetching the data for the next page? Yep, it will get the latest data!

  • @AlirezaKhodadadi-b3c
    @AlirezaKhodadadi-b3c Год назад

    Thanks

  • @alexanderkomanov4151
    @alexanderkomanov4151 Год назад

    Thanks a lot!

  • @jayceon1578
    @jayceon1578 Год назад +2

    P r o m o s m

  • @csmithDevCove
    @csmithDevCove Год назад

    first!