Chris Bongers Yep, and then we use that hook in the Pokemon.js, which receives an object that contains the name of the pokemon from the index.js file. And with the pokemon’s name, we can now use useFetchPokemon() to retrieve the data and then display it accordingly.
Pokemon.js - github.com/rishabkumar7/next-pokedex/blob/main/co…