GithubHelp home page GithubHelp logo

ceall8650 / performant-list Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.16 MB

A list that allows easy reading of a large amount of data and smooth scrolling on mobile devices.

JavaScript 5.37% HTML 3.26% TypeScript 88.01% SCSS 3.36%

performant-list's Introduction

Performant List

A list that allows easy reading of a large amount of data and smooth scrolling on mobile devices.

Tech Stack

  • React 18
  • SCSS + TailwindCSS 3
  • TypeScript 5

Features

  • Pagination
  • Responsive Web Design(RWD)
  • API Cache
  • Lazy loading & Infinite Scrolling
  • Virtualization List

Performance Tune

  • Laptop mode

    • Cache the API response when the loading the new page
    • Load the cache data if the page has been visited
  • Mobile mode

    • Lazy loading the list to avoid to load a large amount of the data
    • Virtualized the list to avoid rendering a large amount of the DOM

Environment

  • Node.js v18.15.0 or later

Run Locally

Clone the project

  git clone https://link-to-project

Go to the project directory

  cd performant-list

Install dependencies

  npm install

Start the server

  npm run start

API Reference

Get the fake list from https://dummyjson.com/

License

MIT

Support

For support, email [email protected]

performant-list's People

Contributors

leoshih13211 avatar

Watchers

Ceall Shih 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.