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
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
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".
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.
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 ^^
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.
even 2 years later this video really helped me, thx!!
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
Thanks!! I was stuck in between while doing pagination. Your video helped a lot.
Thanks brother, you are a life savior.
thanks brother for this, you just made my day 🙃🙃👍
wow.. thank you❤, I just saved the video for the future.
BEEEEEEESSSTTTT 🤩
Lovely, it was very helpful
Thanks my G you the best
Thanks , you saved my day
best video ever thank you very much
Thanks for this video. 😍
Yes! Exactly what I want :3
Thanks! Great!
This is very helpful thanks a lot
Thank you Bro 👍
Thanks!! Its was helpful 😁
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
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".
Thanks you very much for this video,Helpfull
So usefull! Thank you!
thank you , this was very very usefull
Thanks a lot, brother!
So good!
Thank you very much
very useful!
thank you so much
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.
wow.... Thanks
amazing stuff .. thank you
in this how do we get the current page value
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 ^^
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.
Thx alot !!!
hi, is possible inver the list? first item show is the item final of the list
Very nice tutor videos but does it work well with firestore ??
I'm getting a bug if I carry on your exact step, and later refresh my page, the currentItems reset to null
Cant show breaklabels and pageRage on next js, why?
Please check the navbar video comments
Awesome video , ThankYou.
bro this is compatible with styled-components?
Yes it is
you didn't explain const newOffset = (event.selected * itemsPerPage) % items.length; which I think is vital.......
Can we do pagination only use css??
You have to use javascript for the functionality.
thx
Not working
Can you provide source code?
👹
Copy cat 🐱 😂😂😂