Gatsby JS - the ONLY WAY to generate pages 💯 (Gatsby JS v4)

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

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

  • @WebDevEducation
    @WebDevEducation  2 года назад

    *Which way is your favourite to generate pages in Gatsby?*

    • @advertise6066
      @advertise6066 2 года назад

      Hi Tom, you should stop advertising the following course because it's outdated: "[INSTRUCTORS FAVOURITE] Gatsby JS, Prismic CMS & Netlify: Build RAPID sites in 2021". I received this offer this morning. It made me upset, because I paid for this course like many students, and we have not been able to finish it, because the learning materal is outdated. There is an ethical issue to sell something that does not work. Oh on top of that, many students have reported to you this issue, but you never replied to anyone.

    • @WebDevEducation
      @WebDevEducation  2 года назад

      @@advertise6066 Hey Ad Vertise, most of my courses I provide a starter repo so students can clone and follow along with the same versions that I use in the course. I admit it does take me a while to update my courses as the nature of front end development is so fast paced, however I still believe my courses offer value even if the libraries or frameworks aren't currently the latest versions. If you've purchased via udemy then you should be able to take advantage of their 30 day refund policy if you're unhappy in any way with the course. I hope this helps!

    • @WebDevEducation
      @WebDevEducation  2 года назад +1

      @@advertise6066 I've just realised I don't actually provide a starter repo for that particular course, as well as the source plugin being out of date. I had a few other RUclips videos planned for the next couple of weeks but I'll put that on hold to update the prismic course to Gatsby v4 and the latest source plugin. I apologise for the inconvenience 🙏

    • @advertise6066
      @advertise6066 2 года назад

      @@WebDevEducation Thank you. I really appreciate your update.

  • @ShalawFatah
    @ShalawFatah 2 года назад

    I've been working with Gatsby and the most useful way has been the `createPage` API, especially for production-level websites.

  • @FelixRamos
    @FelixRamos 2 года назад +1

    Excellent explanation! Thanks.

  • @erickroo
    @erickroo 2 года назад

    Nice explanation! Thanks

  • @journeytocoding816
    @journeytocoding816 2 года назад

    my question is that it bundles everything in js for static site rendering or generate html pages static ?

    • @WebDevEducation
      @WebDevEducation  2 года назад

      It generates static HTML files but loads in the minimal amount of js to rehydrate into a full React app. You can check out the official docs on this here: www.gatsbyjs.com/docs/conceptual/react-hydration/

  • @oviSavescu
    @oviSavescu 2 года назад

    You neglected to explain the context that createPages returns and how it can be used to pass down dynamic parameters for the template's graphQL query to get the pages' content. Otherwise great video.