An Image Gallery using the Unsplash API, ReactJs and TailwindCSS

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

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

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

    Great video!! Thank you for your efforts, just a small thing to keep in mind in 21:42 it's better to use `props.urls.small` in the src tag instead of `props.urls.full` to display the picture, because in the case where you want to display multiple images at the same time it may fill the RAM and crash the program since it's taking a high resolution picture, smaller size images avoids you this pain (had to debug for hours to find out what causes the crash in my infinite scroll implementation lol)

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

      Oooh, is that what causes the crash? I couldn't figure it out - and it happened to me in another app I built. Thank you very much :)

    • @jamesfrancoo9223
      @jamesfrancoo9223 2 ปีที่แล้ว

      Good observation, thanks

  • @avijitbehera2386
    @avijitbehera2386 2 ปีที่แล้ว

    its coming only 10 images while searching/using query,How to show all images or go to next &previous page

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

      The API only returns 10 images in the response

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

      response only 10 image, but you can indicate you per_page=30

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

      Nice. Thank you for the insight

  • @rizkyadityanugraha2254
    @rizkyadityanugraha2254 2 ปีที่แล้ว

    what browser are you use?

  • @pidge8964
    @pidge8964 2 ปีที่แล้ว

    Hi there! Fantastic video, it's helping me a lot. Are we allowed to fork your repo and add changes/modify it? If so, could you add an appropriate license to the repository? I want to use it as a template to customize and add backend integration with, just for a personal project. Thanks!

    • @tsbsankara
      @tsbsankara  2 ปีที่แล้ว

      Sure. Go right ahead