Coder Social home page Coder Social logo

kellswork / autocomplete-component Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 214 KB

This is an auto-complete component. built with ReactJs and TypeScript

Home Page: https://autocomplete-component-umber.vercel.app

HTML 9.43% CSS 6.68% TypeScript 83.89%

autocomplete-component's Introduction

Auto-complete Component

Deployed on vercel - autcomplete component.

To interact with the deployed version click here

This is an auto-complete component. built with ReactJs and TypeScript.

Some user experience features include;

  • User input text highlights the matches it finds in the suggestion list.
  • User can use keyboard to navigate the lista and select their choices
  • Use React.memo, useMemo and useCallback to memoise component to decrease re-renders for smoother interactions.
  • uses JavaScript fetch API to fetch suggestion list from an API endpoint.
  • errors are handled for better user experience.

Technologies Used:

  • React Js
  • TypeScript
  • Jest
  • React Testing Library

Get Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

  • clone repository https://github.com/Kellswork/autocomplete-component.git or
  • unzip the autocomplete-component folder
  • navigate to the folder location
  • cd into the folder
  • in your terminal, run npm install to install dependencies
  • run npm start to start the project

Run Tests

  • navigate to the folder location and cd into the folder autocomplete-component
  • in your terminal, run npm test and press a to run the tests

Run Test Coverage

Achieved 70% test coverage

  • run npm test -- --coverage to see test coverage

autocomplete-component's People

Contributors

kellswork avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.