Tried to create a little fun project using reactjs.pokeapi is used to fetch data. Multiple components used to trigger the state. Try it- https://bi...
For further actions, you may consider blocking this person and/or reporting abuse
Put
js
when you introduce a code to print it properlyAnd about the code, you should investigate the react hooks, you will love it
Thank you for your much-needed valuable suggestions. I am onto it, sir.
Check react-query and try to implement an infinite scroll instead of loading the first 500, I'm sure you will find it interesting.
It's a cool project to start and you already built a nice playground to test a lot of nice stuff there so keep it up! :)
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?
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 :)
mind sharing how you implemented the infinite scroll feature?
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.
If the constructor is only used for initializing state, it can be removed completely. use
Yes sir, Understood. I will implement as you have instructed. Thank you for your valuable suggestion.
I think the project is great! Just one small question: Would it be possible to leave the cursor as an optional alternative? For my part, I find it rather obstructive on a website.
I made it for fun. I think I can use js to trigger an event where there will be an option on double click to make cursor default or I can show an option or fixed button where the event will be triggered to make the cursor default. Please give me your valuable suggestion sir on which option I should opt for.
hola, como me puedo descargar todo el codigo completo?
can i have the full source code pls was wondering how u styled the cards