How dickyrex19/pokemon-wiki works
This is a minimal React Pokémon browser. The app mounts the Pokémon view, which fetches a paginated list and individual Pokémon records from PokéAPI, displays the results, and lets users open a detail view or change pages. The sampled source shows these responsibilities within one component; no separate data or persistence layer is present.
Main entry points: Pokemon.jsx Pokémon browser · main.jsx React entry · App.jsx App shell
Components 6
React app
- React entry
src/main.jsx - App shell
src/App.jsx - Pokémon browser
src/components/Pokemon.jsx
External API
- Pokémon list API
- Pokémon detail API
Other components
- User
Connections 5
- User → React entry: opens app
- React entry → App shell: renders
src/main.jsx - App shell → Pokémon browser: renders
src/App.jsx - Pokémon browser → Pokémon list API: fetches pages
src/components/Pokemon.jsx - Pokémon browser → Pokémon detail API: fetches records
src/components/Pokemon.jsx