Next.js - getStaticProps vs. getServerSideProps

Поділитися
Вставка
  • Опубліковано 7 січ 2025

КОМЕНТАРІ • 35

  • @mjylove2
    @mjylove2 6 місяців тому +1

    this is the best demonstration of one of the hard concept of next.js pre-renderings

  • @snigdho611
    @snigdho611 2 роки тому +1

    This was beyond helpful, and the example used was excellent in displaying the differences between the two methods.

  • @hophamlam
    @hophamlam Рік тому

    straightforward, clean,... can't thank you more

  • @AryanRaj-zt6cq
    @AryanRaj-zt6cq 2 роки тому

    Thanks finally! I understood where is the difference.

  • @nicolascaillet-bois7045
    @nicolascaillet-bois7045 Рік тому

    Great example, great explanation, probably good leader. Thanks for the vid!

  • @mohanadoo
    @mohanadoo 2 роки тому

    Thanks man I started learning NextJS and I was confused about the difference between the two functions and this video made it very clear to me 👍

  • @chandragie
    @chandragie 2 роки тому

    This is underrated. Such a clear explanation! Thanks Anson

  • @leroysaldanha3849
    @leroysaldanha3849 5 місяців тому

    excellent explaination! thanks mate!

  • @alabtmt
    @alabtmt Рік тому

    Thanks for the explanation, it was very helpful.

  • @heybetov1998
    @heybetov1998 Рік тому

    Wonderful explanation. Thanks bro )

  • @AbdurrahmanASUR
    @AbdurrahmanASUR 2 роки тому

    You explain better than udemy courses, thank you for helping me

  • @sanjayadtani
    @sanjayadtani Рік тому

    what if we use revalidate key in getStaticProps ?

  • @Mejj
    @Mejj 2 роки тому

    Excellent! Very helpful. Thank you so much

  • @AbdurrahmanASUR
    @AbdurrahmanASUR 2 роки тому

    what the different between - getServerSideProps vs getStaticProps and return { revalidate }?

  • @CoolRanchDrago
    @CoolRanchDrago 2 роки тому

    When would you use useSwr vs. getServerSideProps?

  • @amirovuz
    @amirovuz Рік тому

    Wow great explanation thank you

  • @aljosa212
    @aljosa212 Рік тому

    What is the theme you are using for the VSC?

  • @renatasouzaesilvadev
    @renatasouzaesilvadev 2 роки тому

    I finally understood that, thank you!

  • @David-zv5kw
    @David-zv5kw 2 роки тому

    thank you for this!

  • @ByViancaG
    @ByViancaG 8 місяців тому

    Please make a video explaining the difference between fetching with getServerSideProps vs. fetching in the Server Component (calling await before the return block) 🙏

    • @ansonthedev
      @ansonthedev  8 місяців тому

      This video is pretty old but I have plans to make a new Next.js full course in the near future, so please stay tuned for that as it will cover all major topics including the one you mentioned. Thank you!

  • @hpliq362
    @hpliq362 2 роки тому

    What theme are you using, pal?

  • @muhammadosama32
    @muhammadosama32 2 роки тому

    Super awesome explanation

  • @zabialy2919
    @zabialy2919 2 роки тому

    Great explanation, thank you for the video.

  • @mikewazowski7526
    @mikewazowski7526 Рік тому

    wow, thank you very much, Anson! quickly and precise, and I finally got the idea of it. I tried to google and everybody was talking just about CEO which doesn't make any difference for me. Your example is so much better.

  • @anggakharismaputra6106
    @anggakharismaputra6106 2 роки тому

    This is really helpful thanks :D

  • @islamabdelhakiim7258
    @islamabdelhakiim7258 Рік тому

    thank you so much

  • @100gbps2
    @100gbps2 Рік тому

    thank you

  • @syednoman2921
    @syednoman2921 2 роки тому

    nicely explained 👍

  • @emersonsmithperu
    @emersonsmithperu 2 роки тому

    GetServerSideProps with paths ids please.

  • @aruaskedme
    @aruaskedme 2 роки тому

    thanks

  • @Aayush-yr1df
    @Aayush-yr1df Рік тому

    Amazing man 🙌🙌