DEV Community

Discussion on: Pokemon API using ReactJs

Collapse
 
isurojit profile image
isurojit

Thank you, sir, for your warm appreciation. It will boost up my morale to do much more & I will try to implement an infinite scroll. Actually, I am trying to use material UI for pagination. There will be 100 pokemon on every page. I don't know will it look good or not. Any suggestions sir?

Collapse
 
dastasoft profile image
dastasoft

If you really want to try MaterialUI go ahead but, I found it easier (specially if it's your first UI implementation) chakra-ui.com/

For the number of pokemons per page, when you play with the inifinite scroll you'll find out what fits or doesn't fit there :)

Thread Thread
 
bobbyshiew profile image
Bob shiew

mind sharing how you implemented the infinite scroll feature?

Thread Thread
 
dastasoft profile image
dastasoft

You can view an implementation of a infinite scroll in this side project or do you need something specific with react-query and infinite scroll? If that is the case as far as I can remember official docs had an example about that.