This is a simple React Native app that interacts with the PokeAPI to fetch and display a list of PokΓ©mon. Users can view detailed information about each PokΓ©mon, including images, types, abilities, stats, and more.
- π Fetch and display a paginated list of PokΓ©mon
- π View detailed information about each PokΓ©mon
- πΌοΈ Display official artwork, sprites, and stats
- β€οΈ Toggle favorites (feature ready for extension with Context API)
- π Smooth navigation between screens
- π± Responsive UI designed for mobile devices
- React Native with TypeScript
- React Navigation (native stack)
- PokeAPI for PokΓ©mon data
- Context API (setup ready for state like favorites)
- Toast Messages for error handling
- FlashList and performance-optimized components
βββ api/ # API calls and helpers
βββ components/ # Reusable UI components
βββ context/ # Global state management (favorites setup)
βββ screens/ # App screens (Home, Details, etc.)
βββ utils/ # Constants, helpers, and entity interfaces
βββ App.tsx # App entry point
git clone https://github.com/Samson8/react-native-task.git
cd react-native-taskyarn installnpx react-native run-ios # for iOS
npx react-native run-android # for Android
β οΈ Make sure your emulator or device is properly configured.
- Implement persistent storage (e.g., AsyncStorage) for favorites
- Improve UI styling with cards and colors
- Handle offline support or loading states more gracefully
Samson Damilola
GitHub