A simple app to searching Wikipedia (using their public API)
- Creat Ract App
- TailwindCSS (for styling)
- axios (for api request)
You can checkout the live demo or you can clone this repo localy, install dependencies
npm install
then you can spin a local server by running:
npm start
The search API request is optimised by using debounce on 300ms
- Cache the search results
- add a
load more
button to load more results for the same search phrase - add view state for the case when user searches for a phrase less then 3 characters (since the app supports only phrases longer than 2 chars)