Frontendx
README.md
SOLUTION.md
main.tsxentry
App.tsx
App.css
index.html
vite.config.ts
Installed
react@^19.2.0
react-dom@^19.2.0

Search with Pagination in ReactJS

Prompt

Build a search component that queries an API with the search term and page number, displays paginated results, and resets to page 1 whenever the search query changes. Combine debounced search input with page controls and API integration.

Debounce search input by 300ms using setTimeout
Test Results

Search with Pagination in ReactJS

Build a search component that queries an API with the search term and page number, displays paginated results, and resets to page 1 whenever the search query changes. Combine debounced search input with page controls and API integration.