Skip to content

Repository files navigation

Display a Pokemon by ID or Name using React

This React app uses the PokéAPI to display a pokemon by ID or name from a text input at:
https://hollyw00d.github.io/pokemon-api-with-react/

Other technologies used include:

  • TanStack Query (formerly React Query)
  • A custom useDebounce hook to delay fetching a Pokémon until after after the user has finished time for some time, to avoid unnecessary network requests
  • Accessibility features including role="alert" to show when fetching Pokémon has failed or succeeded, and I confirmed this by testing with VoiceOver screenreader on Safari with my Mac

Below is a screenshot of searching for Bulbasaur:
Screenshot of searching for Bulbasaur

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages