GatsbyJS: Gatsby Markdown Page Basics

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

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

  • @chiopio16
    @chiopio16 3 года назад +2

    Love how you paste the code and thoroughly explain each part without assuming that viewers understand topics already.

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

    underrated

  • @hanziify
    @hanziify 4 года назад

    Your clear explanations are fantastic! Thank you for the great help.

  • @alessandromercier
    @alessandromercier 3 года назад

    At 11:11 , you should be adding a key property to the element when mapping over a collection of items. This can greatly benefit the efficacy of React and the Virtual DOM when it comes to the rendering of elements.

    • @GuidingDigital
      @GuidingDigital  3 года назад

      ok. Thanks for the feedback. I'll add a note to the video description.

    • @BobbyBundlez
      @BobbyBundlez 3 года назад +1

      the reason why is because React will then not have to re render everytime you alter the tags. lets say you delete one or add another... React will not know how to uniquely identify them. this is also why we don't give them a key that matches the index. if i delete one tag it would essentially change all the index numbers, thus changing the unique identifiers and ultimately making every other tag's key change. this can cause rendering issues and problems in components! woohoooo lol

  • @e.d.r1546
    @e.d.r1546 4 года назад

    Thank you! underrated channel, keep going dude

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

    Hi phil, I'm begginer to gatsby, I facing one Issue that handling image,
    In my code,I'm uploading image through netlify-CMS, that save image in git and path "/src/image/uploads/img.png" like this,
    in this case I tried with your code but it's not working please help to solve this issue

  • @hqcart1
    @hqcart1 3 года назад

    hi, i tried your code, but i got:
    GraphQLError: Field "path" is not defined by type "MarkdownRemarkFrontmatterFilterInput".
    in graphQL, there is no path, am I missing something?

  • @latestcoder
    @latestcoder 4 года назад

    I just subscribed, this tutorial was perfect

  • @BobbyBundlez
    @BobbyBundlez 3 года назад

    whats the point of this? seems like yet another layer of abstraction am i missing something?