How yairmendoza95/react-gitexpertapp works
Gif Expert is a React app for searching GIFs by category. A user adds a category; the app renders a grid for each category, fetches matching GIF data from Giphy, and displays the returned images and titles. The main layers are category and grid UI, fetch state management, and the API helper. The source excerpts show the request and component calls; the README describes only Create React App tooling, so it provides no additional product capabilities.
Main entry points: GifExpertApp.js Category app · GifGrid.js GIF grid · index.js React entry · AddCategory.js Add category
Components 9
App and UI
- React entry
src/index.js - Category app
src/GifExpertApp.js - Add category
src/components/AddCategory.js - GIF grid
src/components/GifGrid.js - GIF card
src/components/GifGridItem.js
GIF retrieval
- Fetch hook
src/hooks/useFetchGifs.js - GIF API helper
src/helpers/getGifs.js
Other components
- User
- Giphy API
Connections 9
- User → React entry: opens app
- React entry → Category app: renders
src/index.js - Category app → Add category: renders
src/GifExpertApp.js - Add category → Category app: updates categories
src/components/AddCategory.js - Category app → GIF grid: renders per category
src/GifExpertApp.js - GIF grid → Fetch hook: requests GIFs
src/components/GifGrid.js - Fetch hook → GIF API helper: calls
src/hooks/useFetchGifs.js - GIF API helper → Giphy API: fetches search
src/helpers/getGifs.js - GIF grid → GIF card: renders results
src/components/GifGrid.js