Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 891 Bytes

README.md

File metadata and controls

37 lines (25 loc) · 891 Bytes

React Typeahead Practice

Goal

Create high quality react typeahead application.

  • use TypeScript
  • writing tests with react-testing-library
  • create sensible interface
  • search with pagination or infinite scroll

Requirement

  • 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

Recommended Packages

API

Get started

yarn install
yarn start