/react_list-of-goods-hooks

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

React list of goods (Hooks)

DON'T use class components (for this and next tasks).

Reimplement the React list of goods implemented before using hooks and typescript. Copy everything you need from your previous solution.

Here is the working version

  • Use the React TypeScript cheat sheet if needed.
  • Use enum SortType instead of string literals for possible sorting options (including the default one)

Instructions

  • Implement a solution following the React task guideline.
  • Open one more terminal and run tests with npm test to ensure your solution is correct.
  • Replace <your_account> with your Github username in the DEMO LINK and add it to the PR description.