Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,197,209 members, 7,963,970 topics. Date: Wednesday, 02 October 2024 at 12:56 AM |
Nairaland Forum / Science/Technology / Programming / How Is This Done In Reactjs (563 Views)
Adminlte Jquery Datatable In Reactjs / Simple Form Validation In Reactjs Example / Simple Form Validation In Reactjs Example (2) (3) (4)
How Is This Done In Reactjs by longlife101: 10:07am On Aug 03, 2022 |
Hello Guys, How can the following be done in Reactjs?: I'm creating an app that's powered by an API, and I want it so that when the front page reaches a certain length it should [AUTO] break into another page, say 2, 3, 4, and so forth. Like here in Nairaland. (See attached images) Any heads-up? or any documentation that can help? (Just not having any luck googling).
|
Re: How Is This Done In Reactjs by jbreezy: 10:11am On Aug 03, 2022 |
Make research on pagination. It's called pagination. |
Re: How Is This Done In Reactjs by silento(m): 10:40am On Aug 03, 2022 |
You do pagination from backend while querying your db |
Re: How Is This Done In Reactjs by Nobody: 11:30am On Aug 03, 2022 |
Easiest way is with Syncfusion pagination or pager |
Re: How Is This Done In Reactjs by longlife101: 11:43am On Aug 03, 2022 |
Thanks guys, pagination it is: currently on it. |
Re: How Is This Done In Reactjs by ricson11(m): 12:08pm On Aug 03, 2022 |
longlife101: Why not download pagination package and configure it instead |
Re: How Is This Done In Reactjs by longlife101: 10:39pm On Aug 03, 2022 |
Thanks again guys!! I've been able to implement "pagination" into my React web app. No package installation. All frontend code. -A combination of "useState" and "useEffect" Took the whole day though to wrap my head around it. Lesson: one doesn't need to be very good at programming before trying out "big challenges". (Initial challenge was not even knowing the "name" of what I could have easily googled for...another Lesson: first identify/know your challenge ) Kudos 3 Likes
|
(1) (Reply)
My New House I Build By Using Nairaland As My Digital Market I Build This House / Three Ways To Show Hidden Folders In Windows / Nigerian Game Company Pays It's Top Players
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 12 |