ReactJS Pagination Tutorial using React Paginate

Поделиться
HTML-код
  • Опубликовано: 11 май 2022
  • In this video I'll show you how you can create a pagination in ReactJS using a library called React-Paginate. We will also learn how to style the pagination that we will create.
    -----------------------------------------------------------------------------------------------------------
    React-paginate: www.npmjs.com/package/react-p...
    -----------------------------------------------------------------------------------------------------------
    Please LIKE and SUBSCRIBE for more content and supporting!

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

  • @jayshah8229
    @jayshah8229 Год назад +2

    Thanks!! I was stuck in between while doing pagination. Your video helped a lot.

  • @firebout7675
    @firebout7675 9 месяцев назад +2

    really thanks a lot, i was stuck on a project, unable to add the pagination feature. This video made it look like a piece of cake. earlier i was doing it in the backend, this React Library is really helpfull

  • @kanishkjha7621
    @kanishkjha7621 Год назад +1

    Thanks brother, you are a life savior.

  • @DavidTG7
    @DavidTG7 Год назад +2

    So usefull! Thank you!

  • @juwonoladele320
    @juwonoladele320 Год назад +1

    This is very helpful thanks a lot

  • @xcrxwadda8287
    @xcrxwadda8287 Год назад +2

    Thanks , you saved my day

  • @traian112
    @traian112 Год назад +1

    Thank you very much
    very useful!

  • @joshuaejembi8291
    @joshuaejembi8291 10 месяцев назад +1

    thanks brother for this, you just made my day 🙃🙃👍

  • @jw_sw8157
    @jw_sw8157 Год назад +1

    Thanks!! Its was helpful 😁

  • @mdabutorabkhan3370
    @mdabutorabkhan3370 Год назад +1

    wow.. thank you❤, I just saved the video for the future.

  • @elurolydia2652
    @elurolydia2652 Год назад +1

    Lovely, it was very helpful

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

    Thanks a lot, brother!

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

    amazing stuff .. thank you

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

    best video ever thank you very much

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

    Thanks you very much for this video,Helpfull

  • @Hosenkm-sw
    @Hosenkm-sw Год назад

    thank you , this was very very usefull

  • @maplestoryinchinese
    @maplestoryinchinese Год назад +1

    Thanks my G you the best

  • @all-eter-4289
    @all-eter-4289 Год назад +1

    Yes! Exactly what I want :3

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

    So good!

  • @elmurodvokhidov
    @elmurodvokhidov Год назад +1

    Thank you Bro 👍

  • @tiendat1967
    @tiendat1967 Год назад +1

    Very nice tutor videos but does it work well with firestore ??

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

    wow.... Thanks

  • @user-ew9ep3pp2j
    @user-ew9ep3pp2j 5 месяцев назад

    Thanks for this video. 😍

  • @goraghosh4581
    @goraghosh4581 10 месяцев назад +1

    Thanks! Great!

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

    hi, is possible inver the list? first item show is the item final of the list

  • @isaranndy
    @isaranndy Год назад +1

    Thx alot !!!

  • @stanislavsheshenin9534
    @stanislavsheshenin9534 Год назад +1

    Hi! Very goog tutorial, but i have error... TypeError: data.slice is not a function... this error there -> setCurrentitems(data.slice(itemOffset, endOffset));. I use other api.

  • @user-mo7gx4ze1r
    @user-mo7gx4ze1r 7 месяцев назад

    thank you so much

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

    I'm getting a bug if I carry on your exact step, and later refresh my page, the currentItems reset to null

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

    Awesome video , ThankYou.

  • @prathmeshaprilinnovation
    @prathmeshaprilinnovation Год назад +1

    in this how do we get the current page value

  • @user-tv5wg1no8v
    @user-tv5wg1no8v Год назад +1

    BEEEEEEESSSTTTT 🤩

  • @sedanospiano
    @sedanospiano Год назад +2

    If my items do not come from any api, i.e. the user is the one who creates those items (notes through a button), how can I do it?
    The pagination seems to work but it still shows all the items on screen when I have set 6 items per page. Nice video btw ^^

    • @TC-gv9fs
      @TC-gv9fs Год назад +1

      It seems that you haven't changed the items that you're mapping, don't forget to currentItems.map... this will help you render 6 items or any number per page. Hope this help.

  • @prathmeshaprilinnovation
    @prathmeshaprilinnovation Год назад +1

    actually i am working on project and i get refrence of this video which is quite helpful but as i need i want the current page value and i have to pass that value in axios post request body

    • @index-zero
      @index-zero  Год назад

      If by current page value you mean the current page number then for that you can create a state and update it when user click on a page, you can update current page number inside handlePageClick there current page number will be "event.selected + 1".

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

    Cant show breaklabels and pageRage on next js, why?

  • @Samir-me3dk
    @Samir-me3dk Год назад +1

    bro this is compatible with styled-components?

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

    thx

  • @joalafreak1588
    @joalafreak1588 Год назад +1

    Can we do pagination only use css??

    • @index-zero
      @index-zero  Год назад

      You have to use javascript for the functionality.

  • @franion524
    @franion524 Год назад +1

    Please check the navbar video comments

  • @wadanemacho
    @wadanemacho 11 месяцев назад

    you didn't explain const newOffset = (event.selected * itemsPerPage) % items.length; which I think is vital.......

  • @bhaveshdaswani5776
    @bhaveshdaswani5776 11 месяцев назад

    Can you provide source code?

  • @parasjangid5721
    @parasjangid5721 Год назад +2

    Not working

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

    👹

  • @naumandurani9073
    @naumandurani9073 Год назад +2

    Copy cat 🐱 😂😂😂