Giter Site home page Giter Site logo

boxed-table's Introduction

Frontend React Table Test

Create a reusable table component in React.

Expectations

  • Table should have 4 or more columns.
  • Table data state
    • Asynchronously fetching data can be faked (setTimeout, Promise, …)
    • Display in-flight state while fetching data
    • The data isn’t important, it can be anything you like.
  • Table should have pagination (ex. 100 records, 25 records per page)
    • Next / Previous buttons
    • Show current page number
  • Table should have filtering
    • At least one column should be sortable
    • Add a search bar above table to filter by one data property
  • Table rows should be selectable
    • Create a checkbox for each row
    • Display selected rows as JSON below Table component
  • No class components. Use hooks.

Bonus (Not Required):

  • Manage table states via url query params
    • Initialize Table state via url query params
    • Continue managing Table state via url query params
  • Testing (ie. testing-library)

Tech stack

  • Bootstrapped Create React App with Typescript

Installation and Usage

Project uses yarn to install and run app.

To run the app on the local development, you will need to install all dependencies:

yarn install

Starting the app:

yarn start

Running the tests:

yarn test

boxed-table's People

Contributors

nazmifeeroz avatar

Watchers

James Cloos avatar  avatar  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.