Create high quality react typeahead application.
- use TypeScript
- writing tests with react-testing-library
- create sensible interface
- search with pagination or infinite scroll
- show Input with some empty ui
- when start typing, should show loading ui (can be anything kind of ui, break your imagination!)
- can clear search and back to initial state (empty ui)
- show list of users (can be just avatar & name)
Extra
- debounce on type around 200ms (meaning only call search after user finish typing for 200ms)
- search with pagination or infinite scroll
- swr or react-query
yarn install
yarn start