Skip to content

ฝึกการเขียน pagination ด้วย swr

Notifications You must be signed in to change notification settings

React-in-Thai/react-typeahead-practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

ฝึกการเขียน pagination ด้วย swr

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published