How to Create Pagination in Next.js with Shadcn UI

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

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

  • @haiderjaafer8164
    @haiderjaafer8164 День назад

    Great work keep going... If make it with table with features like pagination, sorting, searching, columns hidding and so on with search params and server side rendering

  • @RahmadRizkiJadida-
    @RahmadRizkiJadida- Месяц назад +1

    mantap bang. bagus isinya dan to the point. semangaat

    • @CandDev
      @CandDev  Месяц назад

      thanks bro 🚀

  • @hyakimaru8614
    @hyakimaru8614 2 месяца назад

    could you make Next.js 14 playlists series. easy to follow up

  • @RahmadRizkiJadida-
    @RahmadRizkiJadida- Месяц назад

    bang kalo mau get Data nya dari contentful gimana ya bang?

  • @daniel_goncalves
    @daniel_goncalves 2 месяца назад +1

    At the end there is something wrong. When you choose page 2, the first post should be 6 and not 2 as you shown.

    • @CandDev
      @CandDev  2 месяца назад +2

      Yes, jsonplaceholder API doesn't natively support pagination with a page parameter like many other APIs do. Normally, an API would use parameters like page and per_page to handle pagination.

    • @daniel_goncalves
      @daniel_goncalves 2 месяца назад

      ​@@CandDev I guess that you have to calculate. Next page = page + limit. Something like that

    • @CandDev
      @CandDev  2 месяца назад +2

      @daniel_goncalves yap, i already update the code. Thanks

  • @prashlovessamosa
    @prashlovessamosa 2 месяца назад

    Thanks

  • @Aufafkri
    @Aufafkri 2 месяца назад

    Bang bikin tutorial payment pake xendit dong 😁😅

    • @CandDev
      @CandDev  Месяц назад +2

      payment gateway ya, lagi pengen juga buat channel baru khusus indo. di tunggu ya 👍

  • @phptempaltedf
    @phptempaltedf 2 месяца назад

    bravo

  • @rishiraj2548
    @rishiraj2548 2 месяца назад

    🙂👍🏻