ReactJS Pagination Tutorial using React Hooks

Sdílet
Vložit
  • čas přidán 27. 07. 2024
  • Best Tech Resume Template: papermoontech.com/pmcsrtk/pedro
    Use code: PEDRO for 20% off ^
    CODE: github.com/machadop1407/react...
    Hey guys, in this video I teach you guys how to use the React-Paginate library to create a simple pagination in your react application.
    www.npmjs.com/package/react-p...
    Fake Data: www.mockaroo.com/
    -
    🚀 Learn ReactJS By Building 6 Projects: codedamn.com/learn/reactjs-pr...
    💻 PedroTech Discord: / discord
    -
    Social
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    Website: machadopedro.com
    Twitter: / pedrotech_
    Linkedin: / machadop1407
    Instagram: / _pedro.machado_
    Github: github.com/machadop1407
    Email: machadop1407@gmail.com
    Tags:
    - Axios
    - Fetch
    - ReactJS Tutorial
    - ReactJS and MySQL
    - NodeJS Tutorial
    - API Tutorial
  • Věda a technologie

Komentáře • 211

  • @sofumzo3219
    @sofumzo3219 Před 2 lety +4

    You just made my day! thanks so much for this. Very clear and easy to recreate and implement in my project as I learn React!

  • @580bulldog
    @580bulldog Před 3 lety

    Much better than most documents I googled. Great job!

  • @khandoor7228
    @khandoor7228 Před 3 lety +8

    Excellent! I love libraries that make sense as this one does. I understand sometimes its not good to use too many libraries but sometimes it does makes sense. Thanks Pedro!

    • @PedroTechnologies
      @PedroTechnologies  Před 3 lety +3

      Glad it was helpful! I agree, I prefer to do stuff manually, however using this library helps a lot!

  • @ead5590
    @ead5590 Před 2 lety

    Yo Pedro! This pagination video was DA BOMB! 💣 It was the final piece to the e-commerce MERN project I'm working on which is almost complete and close to deployment.
    It's super easy to use pagination methods using Mongoose on the backend but I was looking to make it work on the frontend.
    Great stuff. Liked the video and definitely subscribed. Thanks a lot! ✌🏻

  • @sahirmmmdova5052
    @sahirmmmdova5052 Před 2 lety

    I've watched many many videos about this,but you explained it the best!

  • @alexandreluiz6182
    @alexandreluiz6182 Před 2 lety

    I would like to thank you very much. You have no idea how you helped me. I'm starting as a junior developer and was assigned this particular task. Wish you all the best!

  • @anirbansarkar3226
    @anirbansarkar3226 Před 2 lety +1

    Thank You soooooooooooooooooooo much bro , you made my life easy actually I was reading a doc and It was little bit difficult to understand so I was searching for a explanation and then I found your video , not only you explain very easy way but also you made your code easy to implement. thank you again . you got new Sub bro

  • @edu_sdorneles
    @edu_sdorneles Před 3 lety +2

    Excellent tutorial! I had already saw like thousands videos, but this was the unique that I learned how to do this! Thanks a lot!

  • @pegihr
    @pegihr Před 3 lety +2

    Cool... I was just thinking of adding pagination to my project. and suddenly a notification appears from your youtube channel about pagination. unfortunately right now I'm in a remote village where the internet network is very bad. I'll watch your video again when I get home

  • @keenanreed5341
    @keenanreed5341 Před rokem

    Thanks! It's always a pleasure following along with your tutorials. Much appreciated!

  • @boonyaweeprasertsiripond4167

    Thank you very much! This is so easy to understand, and works exactly like I wanted it to be

  • @sfybskot
    @sfybskot Před 3 lety +3

    You just saved my life with this video. Thank you a lot! Everything works in the best possible way!

  • @viniciusm.m.7822
    @viniciusm.m.7822 Před 2 lety

    Muito bom, mano!
    Forte abraço, Pedro!
    God bless you!

  • @cosmelvillalobos6448
    @cosmelvillalobos6448 Před 2 lety

    Hey man really good material, it helped me a lot on a project I was working on. keep up the good wok man!

  • @vedprakashsharma5640
    @vedprakashsharma5640 Před 3 lety +2

    Kindly create more projects of this kind to explain various concepts beautifully ..the way you have done here. Have a great day.

  • @ikemefunanwankwo3850
    @ikemefunanwankwo3850 Před 2 lety

    Great tutorial. Very concise. Welldone!

  • @manikdebnath8120
    @manikdebnath8120 Před 2 lety

    Now it seems how simple pagination is! Thanks a lot

  • @fonsusali
    @fonsusali Před 2 lety +1

    Bro I watched this video a year ago when I was new to React and it was crazy and confusing, one year later I am watching this and it's sooo easy to understand, Progress is Constant, thank you bro

  • @mrnabby4178
    @mrnabby4178 Před rokem

    Following you from a long time. You are a great teacher.

  • @joseisraeldiazzapata5179
    @joseisraeldiazzapata5179 Před 3 lety +1

    Nice, thanks Pedro. This is gonna be useful for more crazy stuff in projects😊😊😊. A future video can be about persistent states using cookies, so that when refreshing the page, the state still exists.

  • @vedprakashsharma5640
    @vedprakashsharma5640 Před 3 lety +1

    fantastically explained.....Great job

  • @benhadjyahiamehdi4772
    @benhadjyahiamehdi4772 Před 2 lety +1

    Lovely Video saved me plenty of time . Keep it up PedroTech

  • @saksham3002
    @saksham3002 Před 3 lety

    love you dude! this really worked!

  • @_chidiebere4763
    @_chidiebere4763 Před 3 lety +1

    I did not regret subscribing. Thanks Pedro

  • @teshaych2618
    @teshaych2618 Před 2 lety

    Your are such a blessing for new developers. Thanks

  • @bablumia1774
    @bablumia1774 Před rokem +2

    Bro trust me this is outstanding

  • @federicorosales4770
    @federicorosales4770 Před 3 lety

    Excelente!! you explained it very well, ty! Greetings from Argentina.

  • @ganny1891
    @ganny1891 Před 3 lety +2

    Amazing video and well explained as well! Thank you mate.

  • @jamezjaz
    @jamezjaz Před 2 lety

    Very very helpful!
    Thank you very much, Pedro.
    Subscribed!

  • @hermannmarx8993
    @hermannmarx8993 Před 3 lety +1

    Thanks. That saved my day. The Hook makes it much easier to implement pagination!

  • @cristinaaguero3191
    @cristinaaguero3191 Před 2 lety

    You save my lifeeeee! I really really appreciate this video. Thank you so much

  • @revasseurborn2000
    @revasseurborn2000 Před rokem

    I can't thank you enough mannnn ! You are the best !

  • @aestheticmusic3002
    @aestheticmusic3002 Před rokem

    It really helped man 🤠 thanks for such tutorials ✨👍

  • @muzardemoses
    @muzardemoses Před rokem

    I love this so much, one of the best

  • @Farid-kg4ft
    @Farid-kg4ft Před měsícem

    Thanks a lot for such an amazing explanation. With guys like you and Zirrol React becomes understandable for everyone. These 2 are monsters when it comes to teaching React. Good luck and God bless you Pedro

  • @DaWizardOfOz7
    @DaWizardOfOz7 Před 2 lety

    Thanks a lot mate, this is super useful!

  • @uzairmughal7461
    @uzairmughal7461 Před rokem

    Wallah! It worked for me, Thanks Man!

  • @sdcvwdcw
    @sdcvwdcw Před 2 lety

    Bro, I never comment on videos but I love you and this video

  • @sudharshanpani585
    @sudharshanpani585 Před 3 lety +1

    Thank you so much, I needed this very badly.

  • @sanjayawasthi86
    @sanjayawasthi86 Před 11 měsíci

    Thank you PedroTech this vedio was very help for me

  • @andikafebrianto4021
    @andikafebrianto4021 Před rokem

    Thank you for your effort, this tutorial help me solved the problem.

  • @leannemaemillare4754
    @leannemaemillare4754 Před rokem

    helped a lot! thanks!

  • @krittikakuldipsingh6033

    very nice and detailed explanation .... thanks a lot 💯

  • @shivamsingh-dt1tc
    @shivamsingh-dt1tc Před rokem

    Very well explained.

  • @MugiAnto1nd
    @MugiAnto1nd Před rokem

    thanks bro your tutorial help me alot

  • @bharathiraja9049
    @bharathiraja9049 Před 3 lety +1

    Thanks for sharing this video. I really loved it and implemented in my project.. Good informative and easy to understand..

  • @taltech9297
    @taltech9297 Před 2 lety

    thanks it was super useful!

  • @TheGonza0
    @TheGonza0 Před 3 lety +1

    Great video, it served me a lot, thank you very much !

  • @happy_cutman
    @happy_cutman Před 3 lety +1

    Great video, man! Thanks a lot!

  • @danielgreen5803
    @danielgreen5803 Před 2 lety

    Perfect, thanks man

  • @mangalakarunarathne3008

    Really helpful tutorial... 💪😍

  • @ayjayaywhy
    @ayjayaywhy Před 3 lety +1

    Thanks a lot for the video man! Appreciate it

  • @user-qn5lu8de5b
    @user-qn5lu8de5b Před 2 lety

    Thank you very much from Belarus!

  • @Vlad-us9xt
    @Vlad-us9xt Před 3 lety +1

    Keep up the great work!

  • @henriquekutner6724
    @henriquekutner6724 Před 3 lety +3

    Seu inglês é muito bom e só percebi que era brasileiro pelo sobrenome Machado haha Seu tutorial me salvou valeu!

  • @esadakman
    @esadakman Před 2 lety

    Thanks for sharing this video. it really helped

  • @BECSAQUIB
    @BECSAQUIB Před 8 měsíci

    Thanks a lot. Amazing content.

  • @sougataroygcettb
    @sougataroygcettb Před rokem +1

    It's really helpful for the beginner, thanx

  • @TriNguyen-in1cx
    @TriNguyen-in1cx Před 2 lety

    Thank you for video. It help me so much

  • @funkybuddha1598
    @funkybuddha1598 Před 3 lety +1

    Great Job! Thank you.

  • @agussartorio9303
    @agussartorio9303 Před 2 lety

    thank you rey, me ayudo mucho este video 💪💪

  • @rajnishkalwar1840
    @rajnishkalwar1840 Před 2 lety

    Very helpful video thanks alot

  • @hrishikeshpatil9896
    @hrishikeshpatil9896 Před 3 lety +1

    Nice bro ! Very well explained ...☺️

  • @jacobzak7494
    @jacobzak7494 Před rokem

    Thanks! You saved me!

  • @medAmineRg
    @medAmineRg Před 2 lety

    thanks man that was helpfull

  • @jahanasultan
    @jahanasultan Před 2 lety

    Thank you so much!

  • @adelaionce
    @adelaionce Před 2 lety

    Thank you so much ❤

  • @kingsley577
    @kingsley577 Před 11 měsíci

    Thanks, bro 🙌

  • @jattoritittor8342
    @jattoritittor8342 Před 3 lety

    Thanks a lot buddy!

  • @rayeemomayeer
    @rayeemomayeer Před 2 lety

    thanks it's help me a lot

  • @you3667
    @you3667 Před 3 lety +1

    Thx. I use it to my project

  • @ravinakumari8007
    @ravinakumari8007 Před 2 lety +1

    Thank u so much :)

  • @yeseniagonzalez3540
    @yeseniagonzalez3540 Před rokem

    Good video, thanks

  • @marcopablodemaio992
    @marcopablodemaio992 Před 3 lety

    this video is excelent !!!

  • @tdgualu7148
    @tdgualu7148 Před 2 lety

    Much obliged man

  • @bekzatmurat1341
    @bekzatmurat1341 Před rokem

    Thanks Pedro

  • @ShaunDVine
    @ShaunDVine Před 2 lety

    Thanks for the video. Do you know how this could be modified to be integrated with filters? Once a filter is applied to the data it will also paginate the filtered results.

  • @alexsandertelles130
    @alexsandertelles130 Před 3 lety +1

    Bah salvou meu dia... muito top teu conteúdo irmão... continua assim.. mas faz em portugues ahahaha

    • @PedroTechnologies
      @PedroTechnologies  Před 3 lety +1

      kkkkkk obrigado mano fico feliz! Não da pra fazer em portugues não kkkkkk ja é muito trabalho fzer 3 por semana em ingles!

    • @alexsandertelles130
      @alexsandertelles130 Před 3 lety

      @@PedroTechnologies mas ta bom de mais... eu curti muito!!!

  • @barrytophat
    @barrytophat Před 3 lety +1

    Your da man!

  • @keerthanachar
    @keerthanachar Před 2 lety

    Thanks a lot!

  • @mucodondi
    @mucodondi Před rokem

    merci Pedro menât je suis fort en react avec votre formation

  • @rayvincentdelacruz8251
    @rayvincentdelacruz8251 Před 3 lety +4

    Hey Pedro, if you don't mind. Would love to watch a content that teaches us how to put good commit messages for GIT. Thanks in advance!

    • @PedroTechnologies
      @PedroTechnologies  Před 3 lety +1

      Great suggestion! I can make a video on all the git commands I think are actually important and go in depth on how to structure a commit message

  • @khalidmahmud612
    @khalidmahmud612 Před 2 lety +1

    Thank u so much

  • @sahilbasnet1360
    @sahilbasnet1360 Před 9 měsíci +1

    hey pedro, ive a question,
    whenever i click Next Button, it is not changing pages, instead loads data on the same page...
    how can i fix it

  • @teshomeyalew935
    @teshomeyalew935 Před 2 lety

    This Man is Damn Unbelievable! Thanks

  • @sellgar
    @sellgar Před 2 lety

    Excellent tutorial! Thank you so much. I just wondering how can I float right the next button , I tried every possible css but I couldn't make it :(

  • @__peanut__butter28
    @__peanut__butter28 Před 3 lety +1

    this is gold

  • @angele.t.2528
    @angele.t.2528 Před 3 lety

    Thank you bro!

  • @vivekanandareddymaddela

    Thanks a lot

  • @wajidkashoo9242
    @wajidkashoo9242 Před rokem

    very helpful

  • @mansilaad2062
    @mansilaad2062 Před 3 lety +2

    Hey how we can do pagination with react and node..

  • @jhonjairogarcesmontes1035

    Hey Pedro what if I want to add an animation when it changes to another page?? do I do it with CSS??

  • @bhuvaneshwariv8287
    @bhuvaneshwariv8287 Před rokem

    Hii @Pedro Tech im using mui for pagination so instead of select method what can I use to change the page with data.

  • @angelalmachado
    @angelalmachado Před 3 lety +1

    so cool!

  • @thomashaugen1566
    @thomashaugen1566 Před 2 lety

    Hi, how to implement back browser button functionality in pagination, as when you click on browser back button it goes back to the previous page but not the actual pageNumber of the pagination. Thanks

  • @mkheree
    @mkheree Před 2 lety

    Thank you. Can you please say what is the theme you are using in VS Code?

  • @tobiolaleye3353
    @tobiolaleye3353 Před rokem

    This was really helpful, but i wish the pages will refresh and start from the top when the next button is clicked

  • @GiancarloCarccamo
    @GiancarloCarccamo Před 2 lety

    great video

  • @aksaurooj838
    @aksaurooj838 Před 3 lety +1

    Thankyou so much

  • @runatrix
    @runatrix Před 2 lety

    Than you for the content. In my opinion pagesVisited should be called currentUser or currentElement, as it refers to the current user and not really how many pages were visited.