React Pagination in 7 minutes [ EASY ] | Pagination Tutorial

  Рет қаралды 67,341

Code Bless You

Code Bless You

Жыл бұрын

Pagination in React JS with Best and Easy trick. This trick you can apply on any frontend framework like Vue, Angular, React. Copy this crypto coins API for Testing.
🤩Access the Full React Course - www.udemy.com/course/the-ulti...
🗒️MY FAVORITE TOOLS & GEARS
Height Adjustable Desk - amzn.to/42qPZkb
Old Desk in Budget - amzn.to/3UlaFbm
Favorite Laptop - amzn.to/3OrqmKa
LG Monitor for Productivity - amzn.to/3uqA5tv
Silent Keyboard(Loved It) - amzn.to/3UjagGv
Mouse & Keyboard Combo - amzn.to/3Sq50hs
Extra Large Mouse Pad - amzn.to/48Nhcjv
Sony Headphones - amzn.to/3HHjYed
Cheap Earphones for Editing - amzn.to/48eBykN
Daily Use Laptop Stand - amzn.to/3Uj8JQL
Mini Speakers for Consuming Content - amzn.to/48YgAaK
Mport X Connector - amzn.to/3UoHsML
Mic - amzn.to/48eCrtD
3 Color Lightbar - amzn.to/42qgaaW
Dual Monitor Stand - amzn.to/48Nixa1
Stop Watch for Productivity - amzn.to/3Un1RBW
Dotted Diary - amzn.to/3vYBWq1
🚀Access REDUX Course:- www.udemy.com/course/the-ulti...
IMPORTANT LINKS
API Link : api.coingecko.com/api/v3/coin...
Code Link : github.com/CodeBlessYou/React...
Social Media Links:
🚀COURSES : www.udemy.com/user/code-bless...
🤩INSTAGRAM : / code_blessyou
💙FACEBOOK : / 100077716056158
🐦TWITTER : / code_blessyou
😎LINKEDIN : / code-bless-you-5b76822b
TAGS :
react pagination,pagination,pagination in react js,pagination react,react pagination tutorial,react js pagination,pagination with react js,react js pagination tutorial,pagination reactjs,pagination react js,react pagination with api,react pagination component,react table pagination,react js pagination with api,react pagination with hooks,react js pagination with hooks,react pagination with api call,how to do pagination in react js,react js

Пікірлер: 264
@MSRahmanSD
@MSRahmanSD Жыл бұрын
Absolutely amazing. Detailed and clear. Thanks a lot! Keep up your good work!
@CodeBlessYou
@CodeBlessYou Жыл бұрын
Thanks for your support. Grateful for that❤❤
@Tombo272
@Tombo272 Ай бұрын
Fantastic tutorial! I don't typically comment on videos, but I had to give you credit. This was better than several others I combed through. Was easy to follow, understand and build on top of. Whole video was great, good job!
@CodeBlessYou
@CodeBlessYou Ай бұрын
Glad to hear that❤❤❤
@judoScott
@judoScott 2 ай бұрын
Fantastic tutorial. This was so much easier than other solutions I've looked at and is exactly what I was looking for! Thank yoou so much!
@CodeBlessYou
@CodeBlessYou Ай бұрын
❤❤❤❤
@goodhandlestaken
@goodhandlestaken Жыл бұрын
Blown away by this, watched a few videos today on how to add some pagination functionality and they all go on for about 30 minutes. You had it explained in 7, so easy to understand too! Subbed
@CodeBlessYou
@CodeBlessYou Жыл бұрын
Thank you for your support ❤️😍
@codenamemoe9337
@codenamemoe9337 Жыл бұрын
This was an amazingly clear and concise video. Thank you for this and I hope you make many more in this exact style.
@CodeBlessYou
@CodeBlessYou Жыл бұрын
Thank you. Actually I am working on Complete React JS course, If you are interested then you can register for that. For first 100 Students it will completely FREE. Fill This Form:- forms.gle/aBtV1aRdcbztDwF3A
@plantleafboy
@plantleafboy Ай бұрын
Usually I watch multiple videos to understand concepts, your explanation is clear and makes sense. Great editing and format. Cheers NZ
@CodeBlessYou
@CodeBlessYou Ай бұрын
Glad to hear that❤❤❤
@cryptonicchronic8111
@cryptonicchronic8111 Жыл бұрын
your channel will blow up buddy, just keep up the awesome work really impressed. only a few suggestions for future videos, 1. keep them short like how your doing, crazy graphics and long intros just wastes ourr time eh 2. keep repos as up to date as possible 3. do updated versions because a lot of previous viewers will come back to see what youve come up with next 4. if you run out of lessons to teach take requests and set up a telegram or discord to live chat with the people you teach! thanks for this video super appreciative and always stoked to see a new channel rise up on YT I started watching hashlips when he had 3k subscribers. you got this!
@CodeBlessYou
@CodeBlessYou Жыл бұрын
Thank you so much brother for this comments and suggestions. I will apply them as soon as possible. Really grateful for this support😇❤
@ceciliatalone2056
@ceciliatalone2056 6 ай бұрын
Great video! Thank you for being so straightforward and clear
@CodeBlessYou
@CodeBlessYou 6 ай бұрын
❤❤
@romimaximus
@romimaximus Жыл бұрын
Thats was awesome crystal clear !!, ..very simple to understand ...thank you very much 😁👍
@CodeBlessYou
@CodeBlessYou Жыл бұрын
Thanks for your Feedback😀
@manuelpineda9067
@manuelpineda9067 Жыл бұрын
Man this is a great tutorial. Very helpful and to the point.
@CodeBlessYou
@CodeBlessYou Жыл бұрын
Thanks for this comment❤
@muzammilsiddiqui8771
@muzammilsiddiqui8771 9 ай бұрын
Bro you litrally break down those 30min long videos in 5min, that too with more clearer logic explanation than them. You deserve a subscribe 🤝
@CodeBlessYou
@CodeBlessYou 8 ай бұрын
Glad I could help
@gandamraviteja7019
@gandamraviteja7019 4 ай бұрын
Great buddy you just made this pagination very easy for me wonderful explanation kudus
@CodeBlessYou
@CodeBlessYou 4 ай бұрын
Glad to hear that. Thank you so much❤❤❤
@kamalpurohit7158
@kamalpurohit7158 Жыл бұрын
what a effort bro , who don't have interest in programming , can also watch this and enjoy this video by your way of explanation, its great
@CodeBlessYou
@CodeBlessYou Жыл бұрын
Thank you so much for your feedback❤ Really grateful for that😇😇
@aya2222
@aya2222 Жыл бұрын
Very simple and clear explanation. Thank you!
@CodeBlessYou
@CodeBlessYou Жыл бұрын
Glad it was helpful!
@reshadsemedzade1182
@reshadsemedzade1182 Ай бұрын
bro that is amazing video! short, easy and understandable
@CodeBlessYou
@CodeBlessYou Ай бұрын
❤❤❤
@mamunahmed8113
@mamunahmed8113 Жыл бұрын
I am from Bangladesh, I follow your channel, and your teaching style is really awesome, I have learned more easies way from your channel videos. We need more videos on javascript and React, Thanks, brother Love from Bangladesh
@CodeBlessYou
@CodeBlessYou Жыл бұрын
Thanks for this Feedback❤
@suleimanhassan8579
@suleimanhassan8579 9 ай бұрын
perfect video for pagination so glad i didnt waste time on other videos
@CodeBlessYou
@CodeBlessYou 8 ай бұрын
Glad to hear that. Thank you so much
@ZubairKhan-eq5oq
@ZubairKhan-eq5oq Жыл бұрын
everything explained just in 7 min so amazingly, love u bro
@CodeBlessYou
@CodeBlessYou Жыл бұрын
Love you❤❤❤
@yulius4527
@yulius4527 Жыл бұрын
The easiest and the fastest way pagination, also good core concept for beginner thankyou bro, subbed :D
@CodeBlessYou
@CodeBlessYou Жыл бұрын
Thanks for your support❤❤
@user-uv8ns5tq7o
@user-uv8ns5tq7o 15 күн бұрын
Thankyou so much for explaining why and how things are happening!
@CodeBlessYou
@CodeBlessYou 12 күн бұрын
❤❤❤
@justyourusualkid6424
@justyourusualkid6424 7 ай бұрын
wow, superb explanation. So clean and precise. Thank you sooooo much , this helped me a lot 🥳
@CodeBlessYou
@CodeBlessYou 7 ай бұрын
❤❤❤
@MusicalOcean
@MusicalOcean Жыл бұрын
ADD "Math.ceil(totalPosts / postPerPage) - 1" in your pagination component if you are getting blank page on your last pag.
@SandyZangetsu
@SandyZangetsu 2 ай бұрын
or just use Math.floor(totalPosts / postPerPage)
@sm_ali
@sm_ali Жыл бұрын
Thats awesome. you explanation is so awesome. After watch this video my concept about pagination is clear now. thank you so much for such an amazing video. ❤
@CodeBlessYou
@CodeBlessYou Жыл бұрын
Thank you for this nice comment ❤🙌
@LibriSonoro
@LibriSonoro 5 ай бұрын
Super tutorial! I will do my best to implement this for my project!
@CodeBlessYou
@CodeBlessYou 5 ай бұрын
Great❤❤❤
@luker8874
@luker8874 8 ай бұрын
Great Video! Very concise and straight to the point
@CodeBlessYou
@CodeBlessYou 8 ай бұрын
❤❤❤
@subaruLover475
@subaruLover475 Жыл бұрын
Best video on this topic. Subscribed!
@CodeBlessYou
@CodeBlessYou Жыл бұрын
Thank you so much for your support❤❤
@raveclipsbypayrave4578
@raveclipsbypayrave4578 Жыл бұрын
Awesome! Thanks! It helped me with what I was working on!
@CodeBlessYou
@CodeBlessYou Жыл бұрын
Thanks for Feedback😀
@aslan6921
@aslan6921 Жыл бұрын
I am currently working on Countries REST API task and was looking for a simple pagination cause i did't want to display all 250 items on a single page. I can't wait to get to my laptop and implement this to my code, thank you so much !
@CodeBlessYou
@CodeBlessYou Жыл бұрын
Thank you for your support. Grateful for that buddy😇❤
@shaikhanas02
@shaikhanas02 Жыл бұрын
No where on the KZbin I found a video like this bro. Hatts off bro you made all what I wanted in this video. Thankyou so much
@CodeBlessYou
@CodeBlessYou Жыл бұрын
Thank you so much for your support. Really grateful for that❤❤
@shaikhanas02
@shaikhanas02 7 ай бұрын
Bro Can u also add Next and Previous Button to it?
@chinchinooo6657
@chinchinooo6657 Ай бұрын
So helpful thank you!
@CodeBlessYou
@CodeBlessYou Ай бұрын
❤❤❤
@bunyameennurudeen173
@bunyameennurudeen173 Жыл бұрын
Awesome plus very helpful and educative. Thanks Dev
@CodeBlessYou
@CodeBlessYou Жыл бұрын
Thanks for Feedback😀
@jigsaw6642
@jigsaw6642 7 ай бұрын
watched this video, best explanation with animation, uses pure react with use effect hooks, effective usage, simple, i selected this to implement in my code. thanks
@CodeBlessYou
@CodeBlessYou 7 ай бұрын
Thank you so much for watching this tutorial❤❤
@irenek8150
@irenek8150 Жыл бұрын
This was really helpful, thank you so much!
@CodeBlessYou
@CodeBlessYou Жыл бұрын
Thank you so much for your support. Really grateful for that❤❤
@ahnaffaiyaz1892
@ahnaffaiyaz1892 Жыл бұрын
Great video, you explained this very well. Thank you!
@CodeBlessYou
@CodeBlessYou Жыл бұрын
Thank you so much for this comment❤
@Jaracara11
@Jaracara11 Жыл бұрын
Excellent tutorial; simple and concise
@CodeBlessYou
@CodeBlessYou Жыл бұрын
Thanks for support😇❤
@yofi2614
@yofi2614 Жыл бұрын
I think that at 0:56, row number 10 is not really necessary to be a state, cause the post per page will never be changed as a result of some event, unless you directly change it manually, so you can just give it a regular variable :)
@CodeBlessYou
@CodeBlessYou Жыл бұрын
Yeah, Thanks for Suggestion😇❤
@ohm6454
@ohm6454 Жыл бұрын
Bro this is awesome your explanation was very clear. Thank a lot
@CodeBlessYou
@CodeBlessYou Жыл бұрын
Thanks for your support😀❤❤
@gyros9162
@gyros9162 Жыл бұрын
Hi! You've made a big job which helped me a lot. It would be nice if you show us a way to create fancy pagination which looks like 1 2 3 ... 8 ... 18, 19, 20
@CodeBlessYou
@CodeBlessYou Жыл бұрын
I will try to upload
@Dziejkoo
@Dziejkoo 5 ай бұрын
I thought pagination is really complex but you explained that easiest possible way thank you
@CodeBlessYou
@CodeBlessYou 5 ай бұрын
Glad to hear that. Thanks for watching❤❤
@user-ug1vi3bv1f
@user-ug1vi3bv1f Жыл бұрын
Amazing! Thanks for your work!
@CodeBlessYou
@CodeBlessYou Жыл бұрын
Thanks for your support❤❤❤
@francescoPace27
@francescoPace27 9 ай бұрын
You are our saver, thank you very much!
@CodeBlessYou
@CodeBlessYou 8 ай бұрын
❤❤❤
@user-pc1hs4ig5f
@user-pc1hs4ig5f 3 ай бұрын
Best tutorial on pagination ever.
@CodeBlessYou
@CodeBlessYou 3 ай бұрын
❤❤❤
@Kingdomroxas100
@Kingdomroxas100 7 ай бұрын
How come i didnt tough about slice omg, thanks for sharing this and maiking it easier to understand.
@CodeBlessYou
@CodeBlessYou 7 ай бұрын
❤❤❤
@yofi2614
@yofi2614 Жыл бұрын
Amazing! please if you can keep up the good work!
@srishtikhobragade7693
@srishtikhobragade7693 Жыл бұрын
It is very great tutorial for pagination explained in simple way 💯
@CodeBlessYou
@CodeBlessYou Жыл бұрын
Thank you for your support😇❤
@AdityaArya2207
@AdityaArya2207 15 күн бұрын
Thank you man very helpful
@CodeBlessYou
@CodeBlessYou 12 күн бұрын
❤❤❤
@cooperburwell321
@cooperburwell321 Жыл бұрын
Thank you so much for the concise explanation!
@CodeBlessYou
@CodeBlessYou Жыл бұрын
😇❤
@user-ij9py4iz2z
@user-ij9py4iz2z Жыл бұрын
Thank you, finally I could have understood pagintation
@CodeBlessYou
@CodeBlessYou Жыл бұрын
Thanks for your support. Really grateful for that❤❤
@lucianoschmidt2398
@lucianoschmidt2398 Жыл бұрын
I have to thank you for make it possible for me to rest for the weekend. The real chad.
@CodeBlessYou
@CodeBlessYou Жыл бұрын
Welcome😀
@rekikhamza8904
@rekikhamza8904 3 ай бұрын
You earned a sub, thank you
@CodeBlessYou
@CodeBlessYou 3 ай бұрын
Grateful for that❤❤❤
@mageshkannana8795
@mageshkannana8795 Жыл бұрын
Now I know pagination because of you thank you brother in addition to your project I have added previous, forward, first, last button. can you teach us how to add ellipsis when we have hundreds of pages
@CodeBlessYou
@CodeBlessYou Жыл бұрын
Thank you so much for your support. I never done that ellipsis in pagination. But I think can do that by adding conditions. Sorry I don't know that properly
@farhanmuhammad5586
@farhanmuhammad5586 4 ай бұрын
thank you for the explanation sir😻
@CodeBlessYou
@CodeBlessYou 4 ай бұрын
My pleasure❤❤❤
@w222k2
@w222k2 5 ай бұрын
damn, your code is very easy to understand, your voice too. Thank you verymuch
@CodeBlessYou
@CodeBlessYou 5 ай бұрын
Glad to hear that❤❤❤
@pepsicolla123
@pepsicolla123 8 ай бұрын
Thank you sir, it helped me a lot!
@CodeBlessYou
@CodeBlessYou 8 ай бұрын
❤❤
@Hello-nt3iu
@Hello-nt3iu 5 ай бұрын
Thanku sir for this tutorial, very easy to understand
@CodeBlessYou
@CodeBlessYou 5 ай бұрын
My Pleasure ❤❤
@stevendna8956
@stevendna8956 Жыл бұрын
Thanks bro. Genius work. 🙏🙏🤩
@CodeBlessYou
@CodeBlessYou Жыл бұрын
Thanks for this comment❤❤
@rafaelibarra280
@rafaelibarra280 Жыл бұрын
Very clear. I am already subscribed
@CodeBlessYou
@CodeBlessYou Жыл бұрын
Grateful for that❤❤❤
@JustMe-sx7uz
@JustMe-sx7uz Жыл бұрын
You are the best! Thank you.
@CodeBlessYou
@CodeBlessYou Жыл бұрын
Thanks for your support❤❤❤
@ZettoChannel
@ZettoChannel Жыл бұрын
Thank you so much my friend, it works
@CodeBlessYou
@CodeBlessYou Жыл бұрын
Welcome Brother😀❤
@lucaturgueniev
@lucaturgueniev Жыл бұрын
This was helpful, thanks!
@CodeBlessYou
@CodeBlessYou Жыл бұрын
😇❤❤
@nurmuhammadyorov9775
@nurmuhammadyorov9775 3 ай бұрын
Very useful thank you bro
@CodeBlessYou
@CodeBlessYou 3 ай бұрын
❤❤❤
@RitchieOfficiel
@RitchieOfficiel Жыл бұрын
Awesome tutorial! thank you from belgium
@CodeBlessYou
@CodeBlessYou Жыл бұрын
Thanks for your support❤❤ Love from India
@nahomabraham748
@nahomabraham748 4 ай бұрын
The way you broke down the topic and made it super easy to follow along was incredible. I loved how you kept it short and precise
@CodeBlessYou
@CodeBlessYou 4 ай бұрын
Thank you so much for your support❤❤❤
@piyushgupta6290
@piyushgupta6290 Жыл бұрын
Great Great help brother you saved the day!!!!
@CodeBlessYou
@CodeBlessYou Жыл бұрын
My pleasure❤
@shaiksaifali1429
@shaiksaifali1429 Жыл бұрын
very very thanks . it really helped me a lot .
@CodeBlessYou
@CodeBlessYou Жыл бұрын
Welcome😀❤
@zeronl_abs
@zeronl_abs 11 ай бұрын
This is a greate tutorial clear and concise
@CodeBlessYou
@CodeBlessYou 11 ай бұрын
❤❤❤
@rizkaharizpradana8836
@rizkaharizpradana8836 Жыл бұрын
simple to understand, thanks
@CodeBlessYou
@CodeBlessYou Жыл бұрын
Thanks for your comment🙌❤
@zainikram336
@zainikram336 21 күн бұрын
best video ever on pagination
@CodeBlessYou
@CodeBlessYou 20 күн бұрын
Thank you so much for your love❤❤❤
@lokeshvasnik6872
@lokeshvasnik6872 Жыл бұрын
Crazy Brother Amazing...
@CodeBlessYou
@CodeBlessYou Жыл бұрын
❤❤❤
@RohitKumar-ev7tn
@RohitKumar-ev7tn Жыл бұрын
bro , this is the best I found .
@CodeBlessYou
@CodeBlessYou Жыл бұрын
❤❤
@sandeeppillai2890
@sandeeppillai2890 Жыл бұрын
Superb video bro... Plesse make crud video of api with axios
@tanishgupta7879
@tanishgupta7879 23 күн бұрын
Thank you
@CodeBlessYou
@CodeBlessYou 22 күн бұрын
❤❤❤
@natewalchenbach8413
@natewalchenbach8413 Жыл бұрын
Very useful. Thank you.
@CodeBlessYou
@CodeBlessYou Жыл бұрын
Welcome and Thanks for this comment😇❤
@FGA-47
@FGA-47 Жыл бұрын
Thanks man that really helpful
@CodeBlessYou
@CodeBlessYou Жыл бұрын
❤❤
@AryanRaj-zt6cq
@AryanRaj-zt6cq Жыл бұрын
You are genius. Thanks Bro
@CodeBlessYou
@CodeBlessYou Жыл бұрын
❤❤❤❤
@muhiddinozodxojayev8625
@muhiddinozodxojayev8625 Жыл бұрын
Thank you !
@CodeBlessYou
@CodeBlessYou Жыл бұрын
❤❤
@yousseftec8060
@yousseftec8060 8 ай бұрын
Bro You Are The Best ❤️
@CodeBlessYou
@CodeBlessYou 8 ай бұрын
❤❤
@Crypto_dropsss
@Crypto_dropsss 11 ай бұрын
amazing bro !!
@CodeBlessYou
@CodeBlessYou 11 ай бұрын
❤❤❤
@predeator2562
@predeator2562 3 ай бұрын
This code is working if the posts are even...example If there are 33 posts I have to display 10 posts on each page then it is displaying only 3 pages means ie 30 posts ...the rest 3 post is not displaying...for this what to do...?
@gabrielsantos-td8zo
@gabrielsantos-td8zo Жыл бұрын
tmj rei ajudou muito!!!!
@CodeBlessYou
@CodeBlessYou Жыл бұрын
❤❤❤
@user-ck1ki7yb3c
@user-ck1ki7yb3c 5 ай бұрын
bro you explain very well
@CodeBlessYou
@CodeBlessYou 5 ай бұрын
Glad to hear that brother❤❤❤
@sudo576
@sudo576 Жыл бұрын
Thank you so much
@CodeBlessYou
@CodeBlessYou Жыл бұрын
Thanks for Comment 😀
@omsomol.j2501
@omsomol.j2501 Жыл бұрын
Thanks.this tutorial is usefull
@CodeBlessYou
@CodeBlessYou Жыл бұрын
Thanks for this comment😇❤
@minhthai9521
@minhthai9521 Жыл бұрын
Very helpful ♥
@CodeBlessYou
@CodeBlessYou Жыл бұрын
Thank you so much❤
@_ademmeral
@_ademmeral Жыл бұрын
great logic.
@CodeBlessYou
@CodeBlessYou Жыл бұрын
❤❤❤
@aloktamrakar9541
@aloktamrakar9541 10 ай бұрын
Good explanation ❤
@CodeBlessYou
@CodeBlessYou 10 ай бұрын
❤❤
@chukwunaluegwali9583
@chukwunaluegwali9583 5 ай бұрын
Excellent
@CodeBlessYou
@CodeBlessYou 5 ай бұрын
❤❤
@komalsethi3295
@komalsethi3295 Жыл бұрын
Good one 👌👌
@CodeBlessYou
@CodeBlessYou Жыл бұрын
@user-uz9me3nb6n
@user-uz9me3nb6n Ай бұрын
Can someone please explain to me how is it possible to mutate the setCurrentPage state through props ? Because as we all know, data flow in react is uni-directional! Im confused! How its possible to mutate the parent component state in the child component ?
@bunny.rider69
@bunny.rider69 8 ай бұрын
गांs फाड समजाया boss ❤️🔥🔥🔥
@CodeBlessYou
@CodeBlessYou 8 ай бұрын
😅❤❤
@frankezic1730
@frankezic1730 Жыл бұрын
great stuff
@CodeBlessYou
@CodeBlessYou Жыл бұрын
@tanvirhossen9230
@tanvirhossen9230 Жыл бұрын
great tutorial
@CodeBlessYou
@CodeBlessYou Жыл бұрын
❤❤
@SubcribeWithoutanyvideo-mt4zz
@SubcribeWithoutanyvideo-mt4zz Жыл бұрын
I used to make pagination in Laravel it's so easy not like React has alots of steps
@pwamoreno
@pwamoreno 9 ай бұрын
This was awesome. What theme do you use?
@CodeBlessYou
@CodeBlessYou 8 ай бұрын
AYU MIRAGE DARK
@ken2ker495
@ken2ker495 7 ай бұрын
i read the doc and it tell me the slice medthod has 2 params , the starting index and last index . It will cut the current array to a new array from the starting index to the last index - 1 . Is it right ? I need help
@CodeBlessYou
@CodeBlessYou 7 ай бұрын
Yes you are correct.The slice method is like taking a piece of a cake. Imagine you have a cake (an array), and you want to cut a slice from it. - The starting index is where you want to begin cutting. - The ending index is where you want to stop cutting (but not include that part). So, if you have an array like this: const cake = ["chocolate", "vanilla", "strawberry", "caramel", "lemon"]; And you want to cut a slice from the second flavor to the fourth flavor (inclusive): const sliceOfCake = cake.slice(1, 4); The slice method takes a slice starting from the element at index 1 ("vanilla") and goes up to, but does not include, the element at index 4 ("caramel"). So, sliceOfCake would be: ["vanilla", "strawberry", "caramel"] It's like saying, "Give me a piece of the array starting from here and stopping just before there."
@shishirbhargav9627
@shishirbhargav9627 Жыл бұрын
Amazing
@CodeBlessYou
@CodeBlessYou Жыл бұрын
❤❤
@andrewaghoghovwia1948
@andrewaghoghovwia1948 Жыл бұрын
Simple clear explanation.. thanks alot.. but what of a scenario where you have more than a 100 pages ?
@CodeBlessYou
@CodeBlessYou Жыл бұрын
1. You can manually add +5 and -5 button 2. You can also add little input box for entering a page number and then display that posts.
@andrewaghoghovwia1948
@andrewaghoghovwia1948 Жыл бұрын
@@CodeBlessYou Please I have another question. Is this approach better than making an api call to fetch each page? Thanks for your anticipated response
@jiseeeh
@jiseeeh Жыл бұрын
@@andrewaghoghovwia1948 this is obviously faster because you already have all data. so when you switch page it is already available whereas fetching data every page would make a little delay.
@jovem_guil
@jovem_guil Жыл бұрын
tip if you're making an API too: to improve the perfomance implement the pagination on your backend instead of getting all data and slice on frontend
@CodeBlessYou
@CodeBlessYou Жыл бұрын
Yes Helpful😀❤
@user-bj6ux1fl2x
@user-bj6ux1fl2x Жыл бұрын
assume we have totally 1000 apps which is returned by the API and we can not load all the apps at once because it possess storage problem assume that right now iam some where in the 500th app page whatever the previous page apps are there are not required. i need to delete those and if i go back i should be able to get those as well.. for this sinario how could we achive
@CodeBlessYou
@CodeBlessYou Жыл бұрын
Sorry I don't understand your question. Can you explain it with example?
@muhammadowais3499
@muhammadowais3499 6 ай бұрын
i don't know what happend in this video but it works
@CodeBlessYou
@CodeBlessYou 6 ай бұрын
🙂🙂
React Infinite Scroll like YouTube, Instagram | with Animation
7:01
Code Bless You
Рет қаралды 22 М.
Как сделать пагинацию на React.js ?  [React Pagination]
20:01
Давай Попробуем: JavaScript
Рет қаралды 34 М.
FOOLED THE GUARD🤢
00:54
INO
Рет қаралды 64 МЛН
The child was abused by the clown#Short #Officer Rabbit #angel
00:55
兔子警官
Рет қаралды 23 МЛН
3M❤️ #thankyou #shorts
00:16
ウエスP -Mr Uekusa- Wes-P
Рет қаралды 12 МЛН
React js Pagination With API Call Using React-paginate
27:17
coderspirit
Рет қаралды 90 М.
Every Beginner React Developer Makes This Mistake With State
6:37
Web Dev Simplified
Рет қаралды 215 М.
Simple Frontend Pagination | React
19:13
Traversy Media
Рет қаралды 475 М.
JavaScript Pagination in ~10 Minutes (Super EASY!!)
13:06
James Q Quick
Рет қаралды 25 М.
Multiple List Drag and Drop in React [Easiest Way]
22:03
Code Bless You
Рет қаралды 9 М.
Пагинация в React-приложении с Material-UI
26:48
Михаил Непомнящий
Рет қаралды 24 М.
React Pagination Tutorial For Beginners [With Source Code INCLUDED!]
10:06
Create A Paginated API With Node.js - Complete Tutorial
23:21
Web Dev Simplified
Рет қаралды 192 М.
FOOLED THE GUARD🤢
00:54
INO
Рет қаралды 64 МЛН